Headers
Your API key for authentication.
Body
The unique identifier of the organization the user wants to leave.
Response
Always 
null upon successful removal.Always 
null on success.curl --request DELETE \
  --url https://api.bland.ai/v1/orgs/self/leave \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "org_id": "<string>"
}'{
  "data": null,
  "errors": null
}
Remove the authenticated user from an organization.
curl --request DELETE \
  --url https://api.bland.ai/v1/orgs/self/leave \
  --header 'Content-Type: application/json' \
  --header 'authorization: <authorization>' \
  --data '{
  "org_id": "<string>"
}'{
  "data": null,
  "errors": null
}
null upon successful removal.null on success.{
  "data": null,
  "errors": null
}
Was this page helpful?