Attach a permission to a role
Grant a single permission on a custom role without replacing its complete permission set, and synchronize the change to the identity provider. The permission is always scoped to your business. Attaching a permission the role already grants has no effect.
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.
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.