Revoke Shared Link

Revoke a shared link before it expires.
EndpointMethodAdmin Required
/api/v1/objects/share/:sharedLinkIdDELETENo

Revokes a shared link immediately, before it would otherwise expire. Anyone using the link afterwards gets a 404.

Path Parameters

sharedLinkId
string required
The shared link's id, as returned by Share Object or List Shared Links.

Response

Returns 204 No Content on success.

Errors

StatusReason
400sharedLinkId is not a valid UUID
404Shared link not found (or not owned by you)