disconnectStaffMemberFromUser( )


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 the Wix user.

If the staff member is connected to a user, this API disconnects the staff member from the user, removing the associatedWixIdentity field. The action removes the user's access to manage the staff member's schedule via the Wix backoffice.

After the staff member is disconnected from the user, the staff member can be connected to a different user.

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.
Method Declaration
Copy
Method Parameters
staffMemberIdstringRequired

ID of the StaffMember to disconnect.


optionsDisconnectStaffMemberFromUserOptions

Options to disconnect the staff member from a Wix user.

Returns
Return Type:Promise<DisconnectStaffMemberFromUserResponse>
Did this help?