Update a custom role
Update a custom role’s name, description, or complete permission set and synchronize it to the identity provider.
Required permissions: role:update.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Headers
Act on behalf of another business that has granted you access. Requires the business:act_as permission.
Request
The complete replacement permission set. Send an empty set to make the role grant no permissions. Every permission is scoped to your business; scope, sub-type, and resource-ID restrictions are not client-configurable.
Response
Unique identifier for this role: role_… for custom roles, global_role_… for preset roles.
Whether this is a custom role owned by your business (business) or a preset role Penny provides for every business (global).
Human-readable name for the role.
Human-readable description of the role’s purpose and granted access.