cURL
curl --request PUT \ --url https://api.shortmenu.com/links/{id} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data '{ "destinationUrl": "<string>", "tags": [ { "id": "<string>", "name": "<string>" } ] }'
{ "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "destinationUrl": "<string>", "title": "<string>", "slug": "<string>", "domain": { "id": "<string>", "name": "<string>" }, "shortUrl": "<string>", "clickCount": 123, "tags": [ { "id": "<string>", "name": "<string>" } ] }
Updates an existing Short Link.
Your Short Menu API Key. Create one at shm.to/create-api-key.
The identifier of the link to update. This is the id field of the link object.
id
The response is of type object.
object