/v1/api/users/{id} (PUT) - BlueCat Edge - Service Point v4.x.x

BlueCat Edge User Guide

Locale
English
Product name
BlueCat Edge
Version
Service Point v4.x.x

Updates email address, user name, role, and status of the user specified by user ID.

Request: PUT https://api-<BlueCat.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