API Documentation

Unlink Domain

Unlink a custom domain from a webspace. Revokes the SSL cert and removes vhost + DNS record.

Required scope: webspace:manage

Headers

Header Required Value
Authorization Yes Bearer YOUR_API_KEY

Response

{ "data": { "id": "69ee...", "domain": "blog.example.com", "unlinked": true } }

Error Responses

Status Code Description
404 NOT_FOUND Linked-domain id does not belong to this webspace.

Example

curl -X DELETE https://hosting.site.quest/api/v1/webspaces/69e80ac1.../domains/69ee... \
  -H "Authorization: Bearer sq_live_..."

MCP

This action is also available via the webspace_unlink_domain MCP tool.