CmdID / aws / aws workdocs
aws workdocs deactivate-user
Deactivates the specified user, which revokes the user's access to Amazon WorkDocs. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To deactivate a user
The following deactivate-user example deactivates an active user.
aws workdocs deactivate-user --user-id "S-1-1-11-1111111111-2222222222-3333333333-3333&d-926726012c"Identify--user-idThe ID of the user.This command produces no output.
Options
--authentication-tokenAmazon WorkDocs authentication token.--user-idThe ID of the user.