Skip to main content
POST
/
spaces
/
update
await seam.spaces.update({
  space_id: "d3513c20-dc89-4e19-8713-1c3ab01aec81",
  name: "My Updated Space",
});

/*
{
  "created_at": "2025-06-16T16:54:17.946600Z",
  "display_name": "My Updated Space",
  "name": "My Updated Space",
  "space_id": "5f30970d-6ef5-4618-9e91-e701fbca6b63",
  "workspace_id": "96bd12f9-6def-4bf4-b517-760417451ae9"
}
*/
{
  "ok": true,
  "space": {
    "acs_entrance_count": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "device_count": 123,
    "display_name": "<string>",
    "name": "<string>",
    "space_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "customer_key": "<string>",
    "parent_space_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "parent_space_key": "<string>",
    "space_key": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
acs_entrance_ids
string<uuid>[]

IDs of the entrances that you want to set for the space. If specified, this will replace all existing entrances.

customer_key
string

Customer key for which you want to update the space.

Minimum string length: 1
device_ids
string<uuid>[]

IDs of the devices that you want to set for the space. If specified, this will replace all existing devices.

name
string

Name of the space.

space_id
string<uuid>

ID of the space that you want to update.

space_key
string

Unique key of the space that you want to update.

Response

OK

ok
boolean
required
space
object
required

Represents a space that is a logical grouping of devices and entrances. You can assign access to an entire space, thereby making granting access more efficient.