Admin
Create a new role mapping
Creates a new mapping between a user/principal and a role.
This operation can fail for the following reasons:
- A server error occurred (HTTP error 500)
post/admin/roleMappings
Request body
Example request
{
"principalId": "svc_account_84874587_123484",
"principalName": "famartin-svc-account",
"role": "READ_ONLY"
}Response
Returned when the role mapping was successfully created.