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.
Requisição
Authorization
API Key
Adicionar parâmetro em header
x-api-key
Exemplo:
x-api-key: ********************
API Key
Adicionar parâmetro em header
en-workspace
Exemplo:
en-workspace: ********************
or
Respostas
🟢200OK
application/json
Saída realizada
Body
🟠400Pedido inválido
🟠401Não autorizado
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":"Você saiu do workspace com sucesso"}