AI
Cancel a pending playground tool approval
Cancels a pending playground tool approval card (e.g. when the tester dismisses it). Idempotent: returns success even if the approval has already expired or been consumed.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/ai/playground/approval/cancel" \ -H "Content-Type: application/json" \ -d '{ "approvalKey": "playground:5f7b1c2e8a1d4e0012c3b4a5:tool-call-7c2a" }'{ "success": true}