Skip to main content
PATCH
https://api.bouncy.ai
/
v1
/
links
/
:identifier
/
status
curl -X PATCH https://api.bouncy.ai/v1/links/link_abc123xyz/status \
  -H "X-Api-Key: bcy_live_pk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"enabled": false}'
{
  "id": "link_abc123xyz",
  "enabled": false,
  "message": "Link disabled successfully"
}

Request

Headers

X-Api-Key
string
required
Your API key (e.g., bcy_live_pk_YOUR_API_KEY)
Content-Type
string
required
Must be application/json

Path Parameters

identifier
string
required
The link IDExample: link_abc123xyz

Body

enabled
boolean
required
Set to true to enable the link, false to disable itExample: false
Disabled links will show a “Link Disabled” page instead of redirecting. The link is not deleted and can be re-enabled at any time.

Response

id
string
Link ID
enabled
boolean
New enabled status
message
string
Success message
curl -X PATCH https://api.bouncy.ai/v1/links/link_abc123xyz/status \
  -H "X-Api-Key: bcy_live_pk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"enabled": false}'
{
  "id": "link_abc123xyz",
  "enabled": false,
  "message": "Link disabled successfully"
}