POST

Disconnect Staff Member From User


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Disconnects a staff member from a Wix user, clearing the associatedWixIdentity field. Consequently, the user can no longer manage the staff member's working hour schedule in the dashboard.

You must call Disconnect Staff Member From User before connecting a different Wix user to the staff member.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Bookings - all permissions
Manage Bookings
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/bookings/v1/staff-members/{staffMemberId}/disconnect-staff-member-from-user

Path Params
staffMemberIdstringRequired

ID of the staff member to disconnect from its Wix user.

Body Params
fieldsArray <string>maxItems 3

Conditional fields to return.

Response Object
staffMemberStaffMember

Updated staff member.

Disconnect a staff member from a user.
Request
cURL
Response
JSON
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?