Piloterr
API referenceRuns

Revoke a run's download links

DELETE
/v1/runs/{id}/export/links

Every working download link to this run's exports: GET /v1/runs/{id}/export/link's, the emails' and the webhooks'. A revoked link answers 410 link_revoked from then on, an expired one 410 link_expired, one whose run's results were deleted 410 results_expired.

Authorization

ApiKeyAuth
headerX-Api-Key<token>

Path Parameters

id*string

The run's id (GET /v1/projects/{id}/runs, or the answer of POST /v1/projects/{id}/runs)

Length1 <= length

Response Body

Revoked

application/json
  1. response
revoked*integer

Links revoked now

Example Request
curl -X DELETE 'https://dataflow.piloterr.com/v1/runs/string/export/links'
Example Response
{
  "revoked": 2
}