---
title: "Revoke an outstanding execution token"
method: POST
path: "/exec/revoke"
---

# Revoke an outstanding execution token

`POST /exec/revoke`

## Request

- Base URL: `https://getsanction.com/api/v1`
- URL: `https://getsanction.com/api/v1/exec/revoke`
- Auth: API key in header `x-mgmt-key`

Owner-only. Immediately revokes an execution JWT before its TTL elapses — subsequent /credentials/inject calls with that token are rejected. Scoped to the owner's wallet.

## Request body

- ExecRevokeRequest
  - `wallet_id` string, required: Wallet that owns the token
  - `jti` string, required: The execution token id (jti) to revoke

## Response `200`

Token revoked

- ExecRevokeResponse
  - `jti` string
  - `status` 'revoked'
  - `revoked_at` string, date-time

## Other responses

- `401`: Missing or invalid management key
- `404`: No active token with that jti for this wallet

---

[API](https://skmtc.dev/getsanction/apis/sanction-agent-governance-api.md) · [All operations](https://skmtc.dev/getsanction/apis/sanction-agent-governance-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getsanction/apis/sanction-agent-governance-api/revisions/c645a9e4b72d?raw)
