API Documentation

Rename Webspace

Update the display name of a webspace. This is a local operation only and does not affect provisioning or the subdomain.

Required scope: webspace:manage

Path Parameters

Parameter Type Description
id string The webspace ID

Headers

Header Required Value
Authorization Yes Bearer YOUR_API_KEY
Content-Type Yes application/json

Request Body

Field Type Required Description
name string Yes New display name (1–255 characters)
{
  "name": "My Portfolio"
}

Response

{
  "data": {
    "name": "My Portfolio",
    "success": true
  }
}

Response Fields

Field Type Description
name string The new display name
success boolean Whether the rename was successful

Errors

Status Code Description
400 INVALID_NAME Name must be 1–255 characters
400 INVALID_BODY Request body is not valid JSON
404 NOT_FOUND Webspace not found or not accessible

Example

curl -X POST "https://hosting.site.quest/api/v1/webspaces/69e80ac118f081032f3b0416/rename" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name": "My Portfolio"}'

MCP

This action is also available via the webspace_set_label MCP tool.