Updates email address, user name, role, and status of the user specified by user ID.
Request: PUT https://api-<DNS.Edge.URL>/v1/api/users/{id} Authorization: Bearer authorization token { "email":"new email address", "name":"new name", "role":"ADMIN | POLICYADMIN | ANALYST", "status":"active | inactive" }
Attention: You can't update the email address of another users. You can only
update your own email address.
Successful response
200 OK Content-Type: application/JSON
Successful response code:
- NO CONTENT - Successfully updated user
Possible error codes:
- BAD REQUEST - Invalid request
- FORBIDDEN - Update role isn't an admin
- NOT FOUND - User ID requested can't be found
- INTERNAL SERVER ERROR - Unexpected error