Skip to main content
PATCH
Change a staff member's role

Authorizations

Authorization
string
header
required

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

Path Parameters

userId
integer
required

Body

application/json
role
enum<string>
required
Available options:
admin,
manager,
front_desk,
sales,
instructor
isOwner
boolean

Make (or keep) them an owner. Only with role admin.

clubIds
integer[]

The clubs a manager, front_desk, sales or instructor role applies in; any other club loses their role. Left out, the clubs they already work in, or the organization's only club. Ignored for admin.

Minimum array length: 1
preserveInstructorCapability
boolean

When making an instructor an admin, keep their instructor profile so they stay bookable. Without it the profile is deactivated.

Response

The member of staff with their new role

userId
integer
name
string | null
email
string | null
role
enum<string>
Available options:
admin,
manager,
front_desk,
sales,
instructor
isOwner
boolean
status
string

The membership status, e.g. active, or invited until the invitation is accepted

instructorStatus
enum<string> | null

What happened to their instructor profile, or null when neither role is instructor

Available options:
reactivated,
deactivated,
preserved,
unchanged,
null