Reference · Files
DEL/share-links/{id}
Turn a public file link off
Turn off one of the person’s permanent public links (https://vessero.com/s/…), so it stops opening the file: for a link they no longer want public. It cannot be turned back on; sharing the same file again makes a new link. Free: it costs no credits. Takes the link’s id or the whole link, as POST /api/v1/share-links or GET /api/v1/share-links gave it.
- Key needs
create· Make things and spend credits- Spends
- Nothing
- Answers
- Data
Request
curl -X DELETE https://vessero.com/api/v1/share-links/Qx7Lm2Pa9Rt4Vb1N \ -H "Authorization: Bearer $VESSERO_API_KEY"
Path
- idstringrequired—
Answers
- 200okWhat it did, as data.
- 400invalid_requestA field is missing or not accepted: see details.
- 404not_foundNot found on this account.
- 403feature_unavailableThe studio this needs is switched off for the account right now.