DELETE
/
api
/
v1
/
orgs
/
organizations
/
{org_id}
import requests

url = "https://api.mem0.ai/api/v1/orgs/organizations/{org_id}/"

headers = {"Authorization": "<api-key>"}

response = requests.request("DELETE", url, headers=headers)

print(response.text)
{
  "message": "Organization deleted successfully!"
}

Authorizations

Authorization
string
header
required

API key authentication. Prefix your Mem0 API key with 'Token '. Example: 'Token your_api_key'

Path Parameters

org_id
string
required

Unique identifier of the organization to delete

Response

200
application/json
Organization deleted successfully!
message
string