Revoke a tool
Only narrows, so a project key with `permissions:write` may.
DELETE/v1/tools/{tool_id}
Only narrows, so a project key with permissions:write may. Destroys the encrypted key, tells every server to drop it, and publishes again every table that granted the tool (Pod aims for 1 second).
A key with the permissions:write scope.
Request
curl -X DELETE "https://api.pod.mapier.ai/v1/tools/example?project=example" \
-H "Authorization: Bearer $POD_API_KEY"Parameters
| Name | In | Type | Required | What it is |
|---|---|---|---|---|
tool_id | path | string | Yes | |
project | query | string | Yes | The project the call is about. Every route is scoped to one. |
Pod-Organisation | header | string | No | The organization, for a person who belongs to several. An API key's organization is its own, and a different one here is forbidden. |
Idempotency-Key | header | string | No | Makes a repeat of this call safe for 24 hours. |
Answer
204. Revoked.
Errors
The refusals this call is known for: unauthorized, forbidden, not_found. Any call can also answer unauthorized, rate_limited, unavailable or internal; the error list says what each means and when to send the call again.