Strip the owners tuple from a co-owner. Owner-only. The last owner cannot be demoted — the org would have no administrator. Not MCP.
DELETE
/v1/members/{id}/ownerAuthorization
AuthorizationBearer token (JWT) · headerrequiredHydra JWT. Identity is the bound agent or a Keto member human. The host is not identity.
Path parameters
idstringrequiredKratos identity id of the owner
Responses
200Owner demoted
ownerboolean400last-owner demotion refused
401missing or invalid human token
403caller is a member, not an owner
404not an owner of this org
Request
curl -X DELETE "https://veil.nyc/v1/members/string/owner" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://veil.nyc/v1/members/string/owner", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.delete(
"https://veil.nyc/v1/members/string/owner",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
{
"owner": true
}last-owner demotion refused
missing or invalid human token
caller is a member, not an owner
not an owner of this org