---
title: "Clear this alignment layer"
method: DELETE
path: "/alignment/org/{org_id}"
tags: ["Alignment"]
---

# Clear this alignment layer

`DELETE /alignment/org/{org_id}`

## Request

- Base URL: `https://api.mnemom.ai/v1`
- URL: `https://api.mnemom.ai/v1/alignment/org/{org_id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Mnemom-Api-Key`
  - API key in cookie `mnemom_session`

Removes the org-scope alignment authoring; downstream scopes fall through to the next layer up in the cascade. Authorization: the caller must be an owner/admin of the organization named by `org_id`; any other caller, including every non-member and any caller naming an org id that does not exist, receives 403 and no other tenant's manifest can be changed.

## Path parameters

- `org_id` string, required

## Response `200`

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.)

- object
  - `org_id` string, uuid
  - `template` unknown
  - `enabled` boolean
  - `deleted` boolean: Always `true`.
  - `agents_flagged_for_recompose` integer: Number of active member agents queued for re-composition.
  - `agents_recomposed` integer: Team scope only: active members whose canonical cards were recomposed in this request, so their served card already reflects the write.
  - `agents_recompose_pending` integer: Team scope only: active members still waiting on the recompose sweep (past the per-request cap, or a compose failed). Their served card updates within the sweep cadence.

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `429`: Rate-limit exceeded. The global per-IP limiter (100 requests/minute, applied to every `/v1/*` route) rejected this request. Back off until the window resets — `Retry-After` carries the cooldown in seconds and `X-RateLimit-Reset` the absolute reset time.
- `500`: Server error — request was well-formed but the server failed to fulfill it. Typically a downstream dependency (DB / RPC / external API) returned an unexpected error.

---

[API](https://skmtc.dev/mnemom/apis/mnemom-api.md) · [All operations](https://skmtc.dev/mnemom/apis/mnemom-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mnemom/apis/mnemom-api/revisions/274b7a6ea182?raw)
