Piloterr
Referencia de la APIRuns

Revoke download links

DELETE
/v1/export-links

Revokes the workspace's working download links at once: a run's (run_id), a project's (project_id), or every one when neither is sent (what to do when a link leaked and you do not know which). 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. The files stay: ask for a new link.

Autorización

ApiKeyAuth
headerX-Api-Key<token>

Parámetros de consulta

run_id?string

Only this run's links

Length1 <= length
project_id?string

Only this project's links

Length1 <= length

Cuerpo de la respuesta

Revoked

application/json
  1. response
revoked*integer

Links revoked now

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