Skip to main content
DELETE
/
api
/
v1
/
organisations
/
user
Delete User From Organisation Endpoint
import requests

url = "https://platform.ankra.app/api/v1/organisations/user"

payload = {
    "user_id": "<string>",
    "organisation_id": "<string>"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.delete(url, json=payload, headers=headers)

print(response.text)
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null

Body

application/json
user_id
string<uuid4>
required
organisation_id
string<uuid4>
required

Response

Successful Response

success
boolean
required
message
string
required