Update a role’s permissions

View as MarkdownOpen in Claude

Grants and revokes permissions on a custom role atomically. granted adds permissions to the role; revoked removes them.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired
roleIdstringRequired

Request

This endpoint expects an object.

Response

Updated permission set.
roleIdstring
permissionslist of strings