Edit a space (PATCH)


PATCH method mainly used to link a space to another space, or unlink the link between two spaces. To do that, linkedSpaceId property is needed. To unink, provide null value to linkedSpaceId property. If an empty request body is sent, there will be no change on previous linkedSpaceId data.

PATCH /v4/sites/{siteId}/spaces/{spaceId}
Parameters
siteId
uuid required
-
spaceId
uuid required
-
Request #1
Headers
Content-Type application/json
Accept application/json
Authorization Bearer `Your Access Token`
{
    "linkedSpaceId": "1c9c3832-c5f4-4ec9-9daf-cdb6e08d622b"
}
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "linkedSpaceId": {
      "type": "string"
    }
  }
}

Response 204