Nurama Developers
PublicAssetLinks

Disable a public download link

Sets the link status to 'disabled'. The link can no longer be used for downloads. Updates hasActivePublicLink on the asset. Requires canUpdatePublicLink permission.

PUT
/assets/{assetId}/public-links/{linkId}/disable

Sets the link status to 'disabled'. The link can no longer be used for downloads. Updates hasActivePublicLink on the asset. Requires canUpdatePublicLink permission.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

assetId*string
Formatuuid
linkId*string
Formatuuid

Response Body

application/json

application/json

curl -X PUT "https://example.com/assets/497f6eca-6276-4993-bfeb-53cbbbba6f08/public-links/497f6eca-6276-4993-bfeb-53cbbbba6f08/disable"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "token": "Ab3dEf9HiJ",  "assetId": "9179b887-04ef-4ce5-ab3a-b5bbd39ea3c8",  "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",  "creatorId": "688ebf54-d343-4104-8711-82c2feac534a",  "expires": "2019-08-24T14:15:22Z",  "status": "active",  "mode": "embed-download",  "publicUrl": "https://app.nurama.com/public-download/Ab3dEf9HiJ",  "isExpired": true,  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}