Skip to main content
DELETE
/
v1
/
pools
/
{pool_id}
/
machines
Remove Machines From Pool
curl --request DELETE \
  --url https://api.cyberdesk.io/v1/pools/{pool_id}/machines \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "machine_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

pool_id
string<uuid>
required

Body

application/json

Schema for assigning machines to pools

machine_ids
string<uuid>[]
required

List of machine IDs to assign to the pool

Minimum array length: 1

Response

Successful Response