http://workdocs.{region}.amazonaws.com/api/v1/users/{UserId}Updates the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site.
The ID of the user.
The type of the user.
The locale of the user.
The surname of the user.
The given name of the user.
The time zone ID of the user.
Describes the storage for a user.
Boolean value to determine whether the user is granted Power user privileges.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request PATCH \2 --url 'http://workdocs.{region}.amazonaws.com/api/v1/users/{UserId}' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}http://workdocs.{region}.amazonaws.com/api/v1/users/{UserId}Updates the specified attributes of the specified user, and grants or revokes administrative privileges to the Amazon WorkDocs site.
The ID of the user.
The type of the user.
The locale of the user.
The surname of the user.
The given name of the user.
The time zone ID of the user.
Describes the storage for a user.
Boolean value to determine whether the user is granted Power user privileges.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request PATCH \2 --url 'http://workdocs.{region}.amazonaws.com/api/v1/users/{UserId}' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}