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

NameInTypeRequiredWhat it is
tool_idpathstringYes
projectquerystringYesThe project the call is about. Every route is scoped to one.
Pod-OrganisationheaderstringNoThe organization, for a person who belongs to several. An API key's organization is its own, and a different one here is forbidden.
Idempotency-KeyheaderstringNoMakes 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.