Reject or withdraw an action
POST /api/v1/actions/{action}/reject
It is never sent. Anyone with write access can reject (an agent can withdraw its own proposal); rejecting needs no approval because nothing leaves.
A full-access key (ss_sk_…), or an editor or owner signed in.
Parameters
| Name | Type | Description |
|---|---|---|
action requiredpath |
string | The action's id. |
Request body
JSON, sent with Content-Type: application/json.
| Name | Type | Description |
|---|---|---|
note |
string up to 300 characters |
Why. |
Returns
{ data: Action }
Example
curl -X POST "https://sniffington.com/api/v1/actions/{action}/reject" \
-H "Authorization: Bearer $SCOUT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"note":"…"}'