Update a user
PUT/v1/user-management/:id
Changes an existing user's details or permissions. If you run this endpoint with the token of the main account, then you can perform actions on the main account or any sub-account within the main account by providing the sub-account’s accountID. If you run this endpoint with the token of the sub-account, then you can perform actions only on the given sub-account. Please ensure to change the region in the URL to match your account's region.
Request
Path Parameters
ID of the user
- application/json
Body
Possible values: Value must match regular expression ^[_A-Za-z0-9-\+]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(\.[A-Za-z]{2,})$
Email address used to sign in to Logz.io. This property cannot be updated. A new user will need to be created for each email address.
The user's first and last name
ID of the account attached to the user
User role. Can be USER_ROLE_READONLY
, USER_ROLE_REGULAR
or USER_ROLE_ACCOUNT_ADMIN
.
Responses
- 200
successful operation
- application/json
- Schema
- Example (from schema)
Schema
ID of the user
{
"id": 13485
}