Update basic attributes of a user
PUT /api/users/{user_id}
PUT /api/users/{user_id}Interactive request editor loads with JavaScript.
X-API-KEY<token>
In: header
Path Parameters
user_id*string
The user ID.
Length
1 <= lengthRequest Body
application/json
Response Body
application/json
curl -X PUT "$API_BASE_URL/api/users/86fb9981-d9d2-4555-9df8-91ae92129335" \ -H "Content-Type: application/json" \ -d '{}'Operation completed successfully with no response body.
""Invalid arguments. Error details will be provided in the response.
Complete operation details and schema variants
PUT /api/users/{user_id}
Update basic attributes of a user
Update basic attributes of a specified dashboard user account. This is intended for administrative account maintenance.
Required IAM Permission: Action iam:UpdateUser, Resource arn:api7:iam:user/%s
Parameters
user_id(path, string, required): The user ID.
Request body
Content type: application/json
labels(object, optional): Key-value pairs of labels.
Responses
200: Operation completed successfully with no response body.400: Invalid arguments. Error details will be provided in the response.
cURL
curl -X PUT '$API_BASE_URL/api/users/{user_id}'