Leave the org: drops the member (and owner, when present) tuples plus the humans row — the token resolves nothing afterward. A sole owner is refused: promote a member or delete the org. Not MCP.
DELETE
/v1/meAuthorization
AuthorizationBearer token (JWT) · headerrequiredHydra JWT. Identity is the bound agent or a Keto member human. The host is not identity.
Responses
200Account removed from org
deletedboolean400sole-owner leave refused
401missing or invalid human token
403not a provisioned human
Request
curl -X DELETE "https://veil.nyc/v1/me" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://veil.nyc/v1/me", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.delete(
"https://veil.nyc/v1/me",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"deleted": true
}sole-owner leave refused
missing or invalid human token
not a provisioned human