Remove every role a user holds in a space. ResponseData is true when roles were removed and false when the user held none. The user stays a member of the space, and Get User Space Roles then lists only the space's Guest role for them.
Authorization
Bearer YOUR_TOKEN
UserID
SpaceID
Authorization: Bearer YOUR_TOKEN
https://your-site.com/api/users/26/spaces/11/roles
{ "IsError": false, "ResponseMessage": "", "ResponseData": true }
{ "Message": "The request is invalid." }
While Axero does not enforce hard rate limits by default, we recommend the following best practices to ensure optimal performance:
Axero may implement temporary rate restrictions if excessive API usage affects overall site performance. For high-volume integrations, contact Axero to discuss your requirements.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/axero-documentation/wiki/view/66962/rest-api-delete-all-space-roles-of-user
Your session has expired. You are being logged out.