Create a custom role
Create a reusable role scoped to your business and provision it with the configured identity provider.
Required permissions: role:create.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
Act on behalf of another business that has granted you access. Requires the business:act_as permission.
Request
A customer-facing explanation of who should receive the role and what access it provides.
The permissions granted by this role. 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.