OrgsDevicesOthers
updateOrgOtherDevices
Bulk assign or unassign third-party devices to or from a site by MAC address.
Authorization<token>
Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.
Format:
Authorization: Token {apitoken}
Notes:
- An API token generated for a specific admin has the same privileges as that admin
- An API token is automatically removed if it is not used for more than 90 days
- SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.
In: header
Path Parameters
org_id*string
Format
uuidRequest Body
application/json
Bulk site assignment update for other devices
macs?array<string>
Other-device MAC addresses included in the bulk update
op*other_device_update_operation
Action to perform on the other devices. enum: assign, unassign.
Value in
- "assign"
- "unassign"
site_id?string
Site ID used when assigning other devices
Format
uuidResponse Body
curl -X PUT "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/otherdevices" \ -H "Content-Type: application/json" \ -d '{ "device_mac": "0adfea67e65b", "macs": [ "5c5b350e0001", "5c5b350e0003" ], "op": "assign", "site_id": "4ac1dcf4-9d8b-7211-65c4-057819f0862b" }'Empty