Users

Update User Role

Updates an SDP user’s role by user_ID .

patch/users/roles

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header Authorization

Request body */*

user_idstring
rolesstring[]

Example request

{
  "user_id": "5ca230c9-da95-4bd1-b2a2-aa5d0df65efd",
  "roles": [
    "developer"
  ]
}

Response

OK

messagestring

Example response

{
  "message": "user roles were updated successfully"
}

Changes

No recorded changes to this operation across all 13 revisions of this API.