Pool Members

Replace Pool Members

Replaces the Resource's entire membership list with the given Clients.

Any Client not named in the request is removed from the pool. To add or remove individual Clients without disturbing the rest, use PATCH.

put/resources/{resource_id}/pool_members

Path parameters

resource_idstring required

Resource ID

Request body

Example request

{
  "pool_members": [
    {
      "device_id": "7cb89288-1fb3-433e-a522-2d087e45988d"
    },
    {
      "device_id": "cc9f561a-444d-4083-ab38-0abc6cf2314c"
    }
  ]
}

Response

Pool Member Response

Example response

{
  "data": {
    "device_ids": [
      "4ddfa557-7dfc-484f-894c-2024ec3fe9f7",
      "89d22f71-939d-442d-b148-897b730adfb4"
    ]
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.