DELETE
/
api
/
v1
/
orgs
/
organizations
/
{org_id}
/
projects
/
{project_id}
/
members
import requests

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

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

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

print(response.text)
{
  "message": "Member removed from the project"
}

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

project_id
string
required

Unique identifier of the project

Query Parameters

username
string
required

Username of the member to be removed

Response

200
application/json
Member removed from the project successfully
message
string
Example:

"Member removed from the project"