curl -X DELETE https://api.bouncy.ai/v1/links/my-slug \
-H "Authorization: Bearer bcy_live_pk_YOUR_API_KEY"
const response = await fetch(
'https://api.bouncy.ai/v1/links/my-slug',
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer bcy_live_pk_YOUR_API_KEY'
}
}
);
const result = await response.json();
console.log(result.message);
import requests
response = requests.delete(
'https://api.bouncy.ai/v1/links/my-slug',
headers={'Authorization': 'Bearer bcy_live_pk_YOUR_API_KEY'}
)
result = response.json()
print(result['message'])
{
"success": true,
"id": "my-slug",
"message": "Link deleted successfully"
}
{
"error": "Not Found",
"message": "Deeplink not found"
}
{
"error": "Forbidden",
"message": "You do not have permission to delete this deeplink"
}
Links
Delete Link
Permanently delete a short link
DELETE
/
v1
/
links
/
{identifier}
curl -X DELETE https://api.bouncy.ai/v1/links/my-slug \
-H "Authorization: Bearer bcy_live_pk_YOUR_API_KEY"
const response = await fetch(
'https://api.bouncy.ai/v1/links/my-slug',
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer bcy_live_pk_YOUR_API_KEY'
}
}
);
const result = await response.json();
console.log(result.message);
import requests
response = requests.delete(
'https://api.bouncy.ai/v1/links/my-slug',
headers={'Authorization': 'Bearer bcy_live_pk_YOUR_API_KEY'}
)
result = response.json()
print(result['message'])
{
"success": true,
"id": "my-slug",
"message": "Link deleted successfully"
}
{
"error": "Not Found",
"message": "Deeplink not found"
}
{
"error": "Forbidden",
"message": "You do not have permission to delete this deeplink"
}
Request
Headers
Path Parameters
The link’s slug (e.g.,
my-link) or system domain composite (e.g., mybouncy.link__my-link).Use the slug field returned by GET /v1/links.This action is permanent and cannot be undone. The short URL will immediately stop working and the slug will become available for reuse.
Response
Whether the operation succeeded
ID of the deleted link
Success message
curl -X DELETE https://api.bouncy.ai/v1/links/my-slug \
-H "Authorization: Bearer bcy_live_pk_YOUR_API_KEY"
const response = await fetch(
'https://api.bouncy.ai/v1/links/my-slug',
{
method: 'DELETE',
headers: {
'Authorization': 'Bearer bcy_live_pk_YOUR_API_KEY'
}
}
);
const result = await response.json();
console.log(result.message);
import requests
response = requests.delete(
'https://api.bouncy.ai/v1/links/my-slug',
headers={'Authorization': 'Bearer bcy_live_pk_YOUR_API_KEY'}
)
result = response.json()
print(result['message'])
{
"success": true,
"id": "my-slug",
"message": "Link deleted successfully"
}
{
"error": "Not Found",
"message": "Deeplink not found"
}
{
"error": "Forbidden",
"message": "You do not have permission to delete this deeplink"
}
⌘I