Skip to main content
PATCH
/
v1
/
links
/
{identifier}
/
status
curl -X PATCH https://api.bouncy.ai/v1/links/my-link/status \
  -H "Authorization: Bearer bcy_live_pk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"setActive": false}'
{
  "success": true,
  "id": "my-link",
  "isActive": false,
  "message": "Deeplink deactivated successfully"
}

Request

Headers

Content-Type
string
required
Must be application/json

Path Parameters

identifier
string
required
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.

Body

setActive
boolean
required
Set to true to activate the link, false to deactivate itExample: false
Deactivated links will stop redirecting. The link is not deleted and can be re-activated at any time.

Response

success
boolean
Whether the operation succeeded
id
string
Link identifier
isActive
boolean
New active status
message
string
Success message
curl -X PATCH https://api.bouncy.ai/v1/links/my-link/status \
  -H "Authorization: Bearer bcy_live_pk_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"setActive": false}'
{
  "success": true,
  "id": "my-link",
  "isActive": false,
  "message": "Deeplink deactivated successfully"
}