Approvals

Replace the org's approval rule (admin)

PUT/approvals/rule

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

organization?string

Organization slug (OAuth actors with several orgs); API keys imply theirs.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/approvals/rule" \  -H "Content-Type: application/json" \  -d '{    "policy": "single",    "approvers": [      "string"    ],    "quorum": 0,    "enabled": true  }'
{  "property1": null,  "property2": null}