Organizations and members
POST/v1/org/kill-switch

Pause or resume all agents

View as .md
curl -X POST "https://api.52-28-238-205.sslip.io/v1/org/kill-switch" \  -H "Cookie: <console session cookie>" \  -H "Content-Type: application/json" \  -d '{"on":true}'

Turns the organization's pause switch on or off; while on, every agent payment is denied. Console session or API key with org:kill_switch; a console session needs a passkey step-up within the last 5 minutes.

Server URLhttps://api.52-28-238-205.sslip.io
POST/v1/org/kill-switchBase URL: https://api.52-28-238-205.sslip.io
Authorization
  • sessionCookie: <console session cookie>
  • apiKeyAuthorization: Bearer sk_test_...
Body

application/json · required. Fields are listed under Request body below.

Requires permissionorg:kill_switch
Held by owner, admin. The caller must hold this permission, or the call is refused with 403. From the console it also needs a passkey step-up within the last 5 minutes.

Authorization

cookieuapg_session<token>

Console session cookie (HttpOnly, SameSite=Lax)

Request Body

application/json
  1. body
on*On

Response Body

Success.

application/json
  1. response
kill_switch*Kill Switch

True while the organization's pause switch is on and every agent payment is denied.

[key: string]?any