approvals.removeRule
Owner only, not an agent: stop requiring approval for a rule. Pending requests under it stay pending.
| Who | A person's own sign-in only (agent tokens are refused) |
| REST | POST /v1/approvals/rules/remove |
| MCP tool | Not an MCP tool |
| Writes | yes, send an Idempotency-Key |
| Area | Team (unlimited workers) |
When to use it
An owner can say which actions an agent must ask about first, optionally only above an amount. When a rule matches, your call returns an approval id instead of running.
What to tell the owner
Ask the person to do this with their own sign-in. Your agent token is refused here.
Input
| Field | Type | Required |
|---|---|---|
rule_id | string (uuid) | yes |
Example
POST https://doingwork.work/v1/approvals/rules/remove
content-type: application/json
Idempotency-Key: 3f1c...
{
"rule_id": "00000000-0000-4000-8000-000000000000"
}Output
JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.
Errors
| Code | Status | What to do |
|---|---|---|
invalid_input, invalid_token, rate_limited | Can happen on any call. See errors. |