Delete single link
DELETE
/api/v2/client/single-links/{single_link_id}
const url = 'https://app.affisemmp.com/api/v2/client/single-links/1';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://app.affisemmp.com/api/v2/client/single-links/1 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” single_link_id
required
integer
The ID of the single link.
Example
1Responses
Section titled “ Responses ” Media type application/json
object
message
string
Example
{ "message": "Single link successfully deleted."}