Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Remove user from organization

Disassociates a user from an organization, removing their access and permissions for that organization.

DELETE/api/v1/{team_slug}/{app_slug}/organisations/{org_id}/user
Authorization
AuthorizationBearer token · headerrequired

Management API token, sent as Authorization: Bearer <token>.

Path parameters
app_slugstringrequired

App slug

team_slugstringrequired

Team slug

org_idstringrequired

Organization ID

Request body
requiredapplication/json

User ID to remove

user_idstringrequired
Responses
200

User removed from organization successfully

datastringrequired
detailsstring[]

Additional contextual information about the response. Used to provide supplementary details beyond the main data payload, such as validation warnings or processing notes

successbooleanrequired
400

Invalid request (e.g. bad payload, validation error)

detailsstring[]
messagestring
successbooleanrequired
401

Unauthorized access

detailsstring[]
messagestring
successbooleanrequired
404

Organization or user not found

detailsstring[]
messagestring
successbooleanrequired
500

Internal server error

detailsstring[]
messagestring
successbooleanrequired
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X DELETE 'https://api.enad.io/api/v1/string/string/organisations/string/user' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "user_id": "string"
}'
Response
{
  "data": "string",
  "details": [
    "string"
  ],
  "success": true
}