v1

latestOpenAPI 3.0.2Apache 2.02026-07-136548173.9 KB
Admin

Update a role mapping

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 body

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

Example request

{
  "role": "READ_ONLY"
}

Response

Response when the update is successful.