# Revoke mandate

Revokes the active version, denies pending payments of the agents it governs and adds a signed revocation receipt. Console session or API key with mandate:sign; a console session needs a passkey step-up within the last 5 minutes. Cannot be undone.

`POST /v1/mandates/{id}/revoke`

Revokes the active version, denies pending payments of the agents it governs and adds a signed revocation receipt. Console session or API key with mandate:sign; a console session needs a passkey step-up within the last 5 minutes. Cannot be undone.

Requires permission `mandate:sign`.

## Parameters

| Name | In | Required | Description |
| --- | --- | --- | --- |
| `id` | path | yes | Mandate id (mdt_...). |

## Responses

- **200**: Success.
- **401**: No valid session, API key or agent credential (UNAUTHENTICATED, AGENT_CREDENTIAL_INVALID).
- **403**: Authenticated but not allowed: missing permission, passkey step-up required, or denied by policy.
- **404**: The resource does not exist or belongs to another organization.
- **409**: Conflicts with the current state, for example a reused Idempotency-Key or an illegal state change.

Example 200 response:

```json
{
  "mandate": {
    "id": "id_01jd2x3k4m5n6p7q8r9s0t1v2w",
    "version": 1,
    "status": "active",
    "name": "Example",
    "kind": "string",
    "scope": {},
    "scope_summary": "string",
    "limits": {},
    "allowed": {},
    "chain_priority": [
      "string"
    ],
    "expires_at": "2026-11-16T12:00:00Z",
    "notes": "string",
    "hash": "string",
    "signed_by": "string"
  },
  "effects": {
    "approvals_invalidated": 1,
    "intents_denied": 1,
    "intent_ids": [
      "pi_01jd2x3k4m5n6p7q8r9s0t1v2w"
    ],
    "agents": [
      {
        "id": "id_01jd2x3k4m5n6p7q8r9s0t1v2w",
        "name": "Example"
      }
    ],
    "receipt_id": "rcpt_01jd2x3k4m5n6p7q8r9s0t1v2w"
  }
}
```
