Skip to main content
DELETE
/
protection
/
team
/
{team_id}
Clear this protection layer
curl --request DELETE \
  --url https://api.mnemom.ai/v1/protection/team/{team_id} \
  --header 'Authorization: Bearer <token>'
{
  "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "template": null,
  "enabled": true,
  "deleted": true,
  "agents_flagged_for_recompose": 123
}

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Path Parameters

team_id
string
required

Team identifier (UUID)

Response

Cleared. Returns the deletion confirmation (deleted: true, template: null) and the count of agents flagged for recompose; the next read returns the composed view without this layer. (The handler returns this 200-with-body, not 204.)

team_id
string<uuid>
org_id
string<uuid>
template
null

Always null after a delete.

enabled
boolean
deleted
boolean

Always true.

agents_flagged_for_recompose
integer

Number of active member agents queued for re-composition.