Add Devices to a Space
Adds devices to a specific space.
Adds devices to a specific space.
Code:
await seam.spaces.addDevices({
space_id: "4d53b5c0-87cd-4de9-832d-025e075e7cd4",
device_ids: ["22fb4992-463c-4ccd-b568-50fcea243665"],
});Output:
// voidAdds devices to a specific space.
Code:
curl --include --request POST "https://connect.getseam.com/spaces/add_devices" \
--header "Authorization: Bearer $SEAM_API_KEY" \
--json @- <<EOF
{
"space_id": "4d53b5c0-87cd-4de9-832d-025e075e7cd4",
"device_ids": [
"22fb4992-463c-4ccd-b568-50fcea243665"
]
}
EOFOutput:
{}Adds devices to a specific space.
Code:
Output:
Adds devices to a specific space.
Code:
Output:
Adds devices to a specific space.
Code:
Output:
Adds devices to a specific space.
Code:
Output:
Request Parameters
device_ids Array of UUIDs (Required)
IDs of the devices that you want to add to the space.
space_id String (Required)
ID of the space to which you want to add devices.
Response
Returns: void
Last updated
Was this helpful?

