githubEdit

Add Devices to a Space

circle-info

Early Access Preview. The spaces API is currently in Alpha. We're actively developing it and seeking early feedback at [email protected]envelope. Expect breaking changes as we refine the design.

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:

// void
chevron-rightAuthentication Methodshashtag
  • API key

  • Client session token

  • Personal access token Must also include the seam-workspace header in the request.

To learn more, see Authenticationarrow-up-right.

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

circle-check

Last updated

Was this helpful?