Admin

Update a role mapping

Changed on

Updates a single role mapping for one user/principal.

This operation can fail for the following reasons:

  • No role mapping for the principalId exists (HTTP error 404)
  • A server error occurred (HTTP error 500)
put/admin/roleMappings/{principalId}

Request

  • The document declares no server URL.
  • Auth
    none declared

Request body

role'READ_ONLY' | 'DEVELOPER' | 'ADMIN' required

Example request

{
  "role": "READ_ONLY"
}

Response

Response when the update is successful.

Changes