Cut the drop link
DELETE /api/v1/deliveries/{id}/drop-link
Cuts the campaign’s link: its address no longer answers your client, at once, an upload under way included. The files already dropped stay in the delivery.
Scope · drop-links:write
Path parameters
iduuid required- The delivery, as
POST /deliveriesreturned it.
What the response holds · 204
No body.
Errors
| 403 | scope | The key does not have the scope the route asks for: a read-only key tried to write, or a key without drop-links:write tried to make or cut a drop link. |
| 404 | not_found | A delivery or file unknown, deleted, or erased at the end of its retention; or an address the API does not have. |
And those of any call, in Limits and errors.
A cut link does not come back: to open the drop again, make a new one, whose address is another. 404 not_found when the campaign has no link to cut, already cut or expired.
In ValidFile, the links’ activity says the key cut it, by its name.
curl -X DELETE https://validfile.ca/api/v1/deliveries/$DELIVERY/drop-link \
-H "Authorization: Bearer $VALIDFILE_KEY" \
-w "%{http_code}\n"