Skip to main content
PATCH

Request

Headers

string
required
Must be application/json

Path Parameters

string
required
Any of:
  • the link id returned by GET /v1/links (e.g., my-link or tapmy.social__my-link)
  • the slug (e.g., my-link), matched against your own links first and then, for an active team member, the team owner’s links
  • the short URL, URL-encoded (e.g., https%3A%2F%2Ftapmy.social%2Fmy-link)
Links owned by another account are never matched by slug. Team access requires an active, non-viewer membership of the link owner’s team.An exact link id or short URL always wins over a slug match. If a bare slug matches more than one of your links (for example tapmy.social/my-link and viewmy.link/my-link), the request is refused with 409 AMBIGUOUS_IDENTIFIER: send the link id or the short URL instead.bulk (in any case) is not a link identifier here: PATCH /v1/links/bulk/status is always the bulk status endpoint (400 without a links array, with a message pointing to the short URL). Toggle the link whose id is bulk by its short URL (https%3A%2F%2Fbouncy.ai%2Fbulk).

Body

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

boolean
Whether the operation succeeded
string
The link’s id (resolved from the identifier you sent)
boolean
New active status
string
Success message