Edit a space (PUT)


PUT method allows user to edit the space name, floorId, template and linkedSpaceId value. Both name and floorId is required, others are optional.

Note If the space is linked with other space, then it is required to keep linkedSpaceId in the request body. Otherwise, the link will be unlinked and any changes to the previously linked space will not be available in the space after the unlink.

PUT /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`
{
    "id": "6da7c7c1-5698-4ae2-b693-d5ace370c94d",
    "floorId": "8f5f37ab-3c1c-44e0-9a7a-392bcbef89cc",
    "name": "Study Room",
    "template": "Study room template"
}
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "floorId": {
      "type": "string"
    },
    "linkedSpaceId": {
      "type": "string"
    }
  },
  "required": [
    "name",
    "floorId"
  ]
}

Response 204