Permission respond
Approve or deny a pending permission request.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
session?string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
approved*boolean
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/agent/permission-respond" \ -H "Content-Type: application/json" \ -d '{ "approved": true }'{
"status": "approved"
}{
"status": "error",
"message": "string",
"stack": "string"
}{
"status": "error",
"message": "string",
"stack": "string"
}{
"status": "error",
"message": "string",
"stack": "string"
}{
"status": "error",
"message": "string",
"stack": "string"
}