MIST-asign_device
PUT {{host}}/api/v1/orgs/{{org_id}}/inventory
Body Parameters
Parameter | Type | Description |
---|---|---|
op | string | Required. unassign |
macs | list | list of MAC, e.g. 5c5b350e0001 |
Request Body
{"op"=>"assign", "site_id"=>"{{site_id}}", "macs"=>["{{device-mac}}"], "no_reassign"=>false, "disable_auto_config"=>false, "managed"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string | ||
X-CSRFToken | string | ||
Content-Type | string |