Request
Your project API key: b2co_your_api_key
The unique short code of the link to delete
Response
Indicates if the request was successful
The deleted link information
Confirmation message about the deletion
Unique identifier of the deleted link
Short code of the deleted link
curl -X DELETE "https://api.bit2connect.com/1.0/links/summer-sale" \
-H "X-API-KEY: b2co_your_api_key"
{
"success": true,
"data": {
"message": "Link deleted successfully",
"id": "clp123abc456",
"code": "summer-sale"
}
}
Error Codes
Link with the specified code does not exist or belongs to another project
API key is missing or invalid
API key does not have permission to delete this link
Too many requests, please try again later