Skip to main content
DELETE
/
public
/
deletelink
Delete a link
curl --request DELETE \
  --url https://api.joylink.io/public/deletelink \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "key": "<string>"
}
'
{
  "key": "<string>",
  "description": "<string>",
  "destination": "<string>",
  "imageUrl": "<string>",
  "productTitle": "<string>",
  "userId": "<string>",
  "linkPrefix": "<string>",
  "createdAt": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

application/json
key
string
required

The key of the link to delete

Response

Successfully deleted link

key
string

Unique identifier for the link

description
string

Description of the link

destination
string

The target URL

imageUrl
string

URL of the product image

productTitle
string

Title of the product

userId
string

ID of the user who created the link

Custom link prefix for the user

createdAt
string

Timestamp of when the link was created