DELETE
/
links
Delete an affiliate link
curl --request DELETE \
  --url https://www.pushlapgrowth.com/api/v1/links \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "link": "<string>"
}'
{
  "message": "<string>",
  "deletedLink": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "link": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Affiliate link delete details

id
string<uuid>

The affiliate link ID (required if link not provided)

The affiliate link string (required if id not provided)

Response

Affiliate link deleted successfully

message
string

Success message