v1Resources/Data/deleteUnshare a folder

Unshare a folder

Data

Revokes the folder's public link. Requires an active, identified agency user with Media access; both user and credential client restrictions apply.

delete/api/v1/folders/{id}/share
media:write

Query parameters

idstringrequired
The folder to unshare.

Response

dataobjectoptional
accessstring (restricted)optional
Always "restricted" on success.

Errors

401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. The window field names the limit you hit; retry after the number of seconds in the Retry-After header.
delete/api/v1/folders/{id}/share
Your API key
id *
{
  "data": {
    "access": "restricted"
  }
}

New to the Synup API?