Skip to main content
POST
/
api
/
ai
/
playground
/
approval
/
cancel
Cancel a pending playground tool approval
curl --request POST \
  --url https://your-instance.example.com/api/ai/playground/approval/cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "approvalKey": "playground:5f7b1c2e8a1d4e0012c3b4a5:tool-call-7c2a"
}
'
{
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
approvalKey
string
required

Opaque key issued with the approval card. Idempotent — a no-op if the approval has already expired or been consumed.

Response

Approval cancelled

Generic 200 envelope for fire-and-forget AI endpoints (e.g. approval/cancel).

success
enum<boolean>
required
Available options:
true