CmdID

CmdID / aws / aws workdocs

aws workdocs update-user

Updates the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site. AWS CLI reference

1 example 9 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To update a user

The following update-user example updates the time zone for the specified user.

aws workdocs update-user --user-id "S-1-1-11-1111111111-2222222222-3333333333-3333&d-926726012c" --time-zone-id "America/Los_Angeles"Identify
--user-idThe ID of the user.
--time-zone-idThe time zone ID of the user.
Its output
{
    "User": {
        "Id": "S-1-1-11-1111111111-2222222222-3333333333-3333&d-926726012c",
        "Username": "exampleUser",
        "EmailAddress": "exampleUser@site.awsapps.com",
        "GivenName": "Example",
        "Surname": "User",
        "OrganizationId": "d-926726012c",
        "RootFolderId": "c5eceb5e1a2d1d460c9d1af8330ae117fc8d39bb1d3ed6acd0992d5ff192d986",
        "RecycleBinFolderId": "6ca20102926ad15f04b1d248d6d6e44f2449944eda5c758f9a1e9df6a6b7fa66",
        "Status": "ACTIVE",
        "Type": "USER",
        "TimeZoneId": "America/Los_Angeles",
        "Storage": {
            "StorageUtilizedInBytes": 0,
            "StorageRule": {
                "StorageAllocatedInBytes": 53687091200,
                "StorageType": "QUOTA"
            }
        }
    }
}

Options

9 in the AWS CLI reference
--authentication-tokenAmazon WorkDocs authentication token.
--given-nameThe given name of the user.
--grant-poweruser-privilegesBoolean value to determine whether the user is granted Power user privileges.
--localeThe locale of the user.
--storage-ruleThe amount of storage for the user.
--surnameThe surname of the user.
--time-zone-idThe time zone ID of the user.
--typeThe type of the user.
--user-idThe ID of the user.