/assets/:assetId/share-links/:shareLinkId

Change the settings of an asset share link

Path Params
string
required

the id of the asset

string
required

the id of the share link

Body Params

Share link settings you can set. Omitted settings are not changed.

boolean

Whether the link works. A disabled link keeps its settings and can be enabled again.

boolean

Whether visitors can download the original files

boolean

Whether visitors can browse the asset's other versions

Responses
204

Share link updated successfully

400

Invalid request body, including a null value

403

You do not have permission to edit this share link, or the link lets visitors do something you can't, such as download the original

404

Asset not found, or the share link is not one of this asset's links

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!