- Productionhttps://api-v2.dash.app/collection-shares/{id}
- Staginghttps://api-v2.dashstaging.app/collection-shares/{id}
curl -i -X PATCH \
'https://api-v2.dash.app/collection-shares/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"expiry": {
"value": "2021-02-17T09:24:01.417Z"
},
"assetPermittedActions": "VIEW"
}'Response
{ "result": { "id": "4517a7ba-a482-4211-b97e-f4256f53fd32", "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "collectionId": "a52b5315-15b8-417f-b742-d6902108bac1", "collectionName": "Folders", "currentSlug": "EW7DT/folders", "slugs": [ … ], "expiry": "2021-02-17T09:24:01.417Z", "assetPermittedActions": "VIEW" }, "permittedActions": [ { … } ] }