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,
instructor
isOwner
boolean

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

preserveInstructorCapability
boolean

When moving an instructor to admin, manager or front desk, 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,
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