POST

Remove Member


Developer Preview

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

Removes a team member from the requesting account.

Important: This call requires an account level API key and cannot be authenticated with the standard authorization header. API keys are currently available to selected beta users only.

Endpoint
POST
https://www.wixapis.com/roles-management/team/remove

Body Params
userIdstringRequired

User ID of the team member to remove.

Response Object
Returns an empty object.
Remove team member for account
Request
cURL
curl -X POST \ 'https://www.wixapis.com/roles-management/team/remove' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>' \ -d '{ "userId": "fed9597b-00a1-4bd6-0000-aff2ec248e7a" }'
Response
JSON
{}
Errors

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

Did this help?