v1Resources/Media/deleteUnshare an asset
Unshare an asset
Revokes the asset's public link.
delete
media:write/api/v1/media/{id}/shareQuery parameters
idstringrequired
The asset to unshare.
Response
dataobjectoptional
accessstring (restricted)optional
Always "restricted" on success.
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
429Too many requests. Retry after the number of seconds in the Retry-After header.
delete/api/v1/media/{id}/share
Your API key
id *
{
"data": {
"access": "restricted"
}
}