Skip to content

Unpublish Page

Unpublishes a Link-in-Bio page, removing it from public access. The page’s public URL will return a 404 until it is published again. The page data and analytics are preserved. If the page is already unpublished, this endpoint is a no-op.

POST /v1/bio/pages/{page_id}/unpublish
bio:write

Parameters

Path parameters

ParameterTypeRequiredDescription
page_idstringYesThe unique identifier of the page to unpublish.

Request examples

Terminal window
curl -X POST https://xqr.co/api/v1/bio/pages/bio_abc123/unpublish \
-H "Authorization: Bearer YOUR_API_KEY"

Response

200 OK
{
"data": {
"id": "bio_abc123",
"title": "Acme Inc",
"description": "Official links and resources",
"slug": "acme-inc",
"page_data": {
"theme": "dark",
"avatar_url": "https://cdn.xqr.co/avatars/acme.png",
"links": [
{ "label": "Website", "url": "https://acme.com" },
{ "label": "Twitter", "url": "https://twitter.com/acme" },
{ "label": "GitHub", "url": "https://github.com/acme" }
]
},
"is_published": false,
"published_at": "2026-03-21T12:00:00Z",
"view_count": 1247,
"click_count": 892,
"html_url": "https://bio.xqr.co/acme-inc",
"created_at": "2026-03-21T10:00:00Z",
"updated_at": "2026-03-21T14:30:00Z"
},
"meta": {
"request_id": "req_h7i8j9",
"rate_limit": {
"remaining": 46,
"reset_at": "2026-03-21T13:01:00Z"
}
}
}

Was this page helpful?