Skip to content

API reference

Revoke every link of an export

DELETE
/v1/exports/{exportId}/links

Revokes every link issued for the export, at once. A revoked link answers 404 link_not_found from the next request on. Revoking an export with no live links is not an error.

exportId
required
string
/^[A-Za-z0-9_-]{1,128}$/

Every link of the export is revoked.

invalid_query — the URL carried a query delimiter. This route reads no query parameters.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: invalid_query

unauthorized — missing, unknown, expired or revoked key.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: unauthorized
WWW-Authenticate
required
string
Allowed value: Bearer

forbidden — the key lacks the required scope, or the workspace has no plan that allows this.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: forbidden

export_not_found — the workspace has no such export. An export of another workspace is indistinguishable from one that does not exist.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: export_not_found

method_not_allowed — Allow names the methods this route accepts.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: method_not_allowed
Allow
required
string
Allowed value: POST, DELETE

rate_limited — the key’s or its workspace’s per-plan request allowance for this route’s class is used up. It is answered after authentication, on every API-key operation in this document and on MCP, and never on /health. A download link is limited the same way, after its lookup, by the key that issued it and the export’s workspace. Retry-After is the window in seconds and RateLimit-Limit is the limit of the bucket that refused. No remaining count is returned. The limits themselves are not published here.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: rate_limited
Retry-After
required
string
/^[1-9][0-9]*$/
RateLimit-Limit
required
string
/^[1-9][0-9]*$/

export_unavailable — the export store could not be reached. Retry with backoff.

object
error
required
object
code
required
string
message
required
string
error
object
code
Allowed value: export_unavailable