cURL
curl --request PATCH \ --url https://api.cme.sh/link \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "workspaceId": "<string>", "linkId": "<string>", "tags": [], "deleteLink": false } '
{ "status": true, "data": { "_id": "<string>", "workspaceId": "<string>", "shortUrl": "<string>", "longUrl": "<string>", "linkActive": true, "tags": [ "<string>" ], "totalClicks": 123, "destinationUrlMetaData": { "author": "<string>", "description": "<string>", "image": "<string>", "logo": "<string>", "publisher": "<string>", "title": "<string>", "url": "<string>", "metaTags": "<string>", "date": "2023-11-07T05:31:56Z" }, "createdBy": "<string>", "modifiedBy": "<string>", "createdDate": "2023-11-07T05:31:56Z" } }
Update tags or delete a link for the authenticated workspace.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Id of the Workspace
Id of the Link
Tags to be updated to a link
Delete a link if set to true
true
Successful response
Show child attributes