Removes the current user from the workspace. The user will lose access to all workspace data and features.Note: The owner cannot leave their own workspace.
Request
Authorization
API Key
Add parameter in header
x-api-key
Example:
x-api-key: ********************
API Key
Add parameter in header
en-workspace
Example:
en-workspace: ********************
or
Responses
🟢200OK
application/json
Exit completed
Body
🟠400Invalid request
🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api-develop.enspace.io/ws/leave' \
--header'x-api-key: <api-key>' \
--header'en-workspace: <api-key>'
Response Response Example
200 - Success
{"data":true,"message":"You have successfully exited the workspace"}