Skip to main content
PATCH
Change a role's permissions

Authorizations

Authorization
string
header
required

Organization-scoped bearer credential: a customer API key (1club_sk_live_...) or an MCP OAuth access token.

Path Parameters

role
enum<string>
required
Available options:
manager,
front_desk,
instructor

Body

application/json
grant
string[]

Permissions to add, e.g. "billing.read.club"

revoke
string[]

Permissions to take away

Response

The role's permissions after the change

role
enum<string>
Available options:
admin,
manager,
front_desk,
instructor
modified
boolean

True when the organization changed the role from 1club's default

permissions
string[]

Everything the role may do, as module.action.scope