platforms.revokeManage
Stop a platform from managing this shop. Shop owner only.
| Who | Agents can call this |
| REST | POST /v1/platforms/revoke |
| MCP tool | platforms_revokeManage |
| Writes | yes, send an Idempotency-Key |
| Area | Developers and platforms |
When to use it
The owner wants a platform to stop managing their shop.
What to tell the owner
That software no longer has access.
Input
| Field | Type | Required |
|---|---|---|
grant_id | string | yes |
Example
POST https://doingwork.work/v1/platforms/revoke
content-type: application/json
Idempotency-Key: 3f1c...
{
"grant_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 |
|---|---|---|
forbidden | 403 | This worker's role can't do this, or it needs a person's own sign-in rather than an agent token. Tell the person who can. |
invalid_input, invalid_token, rate_limited | Can happen on any call. See errors. |