curl --request DELETE \
--url http://localhost:3333/v1/people/{id} \
--header 'X-API-Key: <api-key>'{
"success": true,
"deletedMember": {
"id": "mem_abc123def456",
"name": "John Doe",
"email": "john.doe@company.com"
},
"authType": "api-key"
}Permanently removes a member from the organization. This action cannot be undone. Supports both API key authentication (X-API-Key header) and session authentication (cookies + X-Organization-Id header).
curl --request DELETE \
--url http://localhost:3333/v1/people/{id} \
--header 'X-API-Key: <api-key>'{
"success": true,
"deletedMember": {
"id": "mem_abc123def456",
"name": "John Doe",
"email": "john.doe@company.com"
},
"authType": "api-key"
}API key for authentication
Organization ID (required for session auth, optional for API key auth)
Member ID
"mem_abc123def456"
Member deleted successfully
Indicates successful deletion
true
How the request was authenticated
api-key, session Was this page helpful?