Skip to Content
ApiApprovals

Approve Pending Change

Approve, and run it as yourself A signed-in Owner or Admin only (session cookie, same origin); tokens get 403. The stored request runs once, as this person: their role decides (an Admin approving an Owner-only change gets status `failed`). The answer holds the API's full result once, secrets included; the stored `result` has them replaced.

POST
/accounts/{account_id}/pending-changes/{change_id}/approve

Approve, and run it as yourself

A signed-in Owner or Admin only (session cookie, same origin); tokens get 403. The stored request runs once, as this person: their role decides (an Admin approving an Owner-only change gets status failed). The answer holds the API's full result once, secrets included; the stored result has them replaced.

Authorization

session
cookieql_session<token>

Path Parameters

account_id*string
change_id*string

Response Body

Decided

application/json
  1. response
change?
result?unknown

The API's answer to the stored request

Example Request
curl -X POST 'https://tiltas.openpanel.sh/api/v1/accounts/string/pending-changes/string/approve'
Example Response
{  "change": {    "id": "string",    "tool": "string",    "summary": "string",    "reason": "string",    "details": [      "string"    ],    "method": "POST",    "path": "string",    "body": null,    "status": "pending",    "requested_by": {      "type": "mcp",      "client": "string",      "token_id": "string",      "on_behalf_of": "string"    },    "created_at": "2019-08-24T14:15:22Z",    "expires_at": "2019-08-24T14:15:22Z",    "decided_at": "2019-08-24T14:15:22Z",    "decided_by": {      "id": "string",      "email": "string"    },    "result": null,    "result_status": 0,    "approve_url": "string"  },  "result": null}