workdocs:DeactivateUser

Write

workdocs:DeactivateUser is a Write access-level action in the workdocs service. Grants permission to deactivate the specified user, which revokes the user's access to Amazon WorkDocs

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

No condition keys are documented for this action.

Example IAM policy

A minimal policy that allows workdocs:DeactivateUser. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowWorkdocsDeactivateUser",
      "Effect": "Allow",
      "Action": "workdocs:DeactivateUser",
      "Resource": "*"
    }
  ]
}

Related actions in workdocs

View all workdocs actions →