Appointments

Update Member Role

Change someone's SCHEDULING role. Admin keys only.

This decides what they can do in scheduling, not in graph8 generally - organisation roles live in Settings and are not reachable from here.

patch/appointments/membership/by-user/{user_id}/role

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/appointments/membership/by-user/{user_id}/role
  • Auth: HTTP bearer

Path parameters

user_idinteger required

The member's INTEGER scheduling user id - user_id from GET /appointments/membership. Not a PropelAuth id or an email.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

role'ADMIN' | 'MEMBER' required

Response

Successful Response

dataSchedulingPayload required

An open envelope for a filter, a setting, an embed config or a slot grid.

Open because org settings gain branding fields as the booking page does and the embed config gains styling keys as the widget does. Closing it would drop a field the app had already started returning.

Changes

No recorded changes to this operation across all 2 revisions of this API.