createOrgUserMac
Create Org User MACs
Usermacs import CSV file format
mac,labels,vlan,notes 921b638445cd,"bldg1,flor1",vlan-100 721b638445ef,"bldg2,flor2",vlan-101,Canon Printers 721b638445ee,"bldg3,flor3",vlan-102 921b638445ce,"bldg4,flor4",vlan-103 921b638445cf,"bldg5,flor5",vlan-104
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
uuidRequest Body
application/json
Organization user MAC entry
Applied labels for this user MAC entry
Client MAC address for this entry. Only non-local-admin MAC addresses are accepted
Display name for this user MAC entry
Free-form notes about this user MAC entry
RADIUS group associated with this user MAC entry
Optional list of site IDs this user MAC entry is scoped to
Network VLAN value associated with this user MAC entry
Response Body
curl -X POST "https://example.com/api/v1/orgs/000000ab-00ab-00ab-00ab-0000000000ab/usermacs" \ -H "Content-Type: application/json" \ -d '{ "mac": "5684dae9ac8b" }'{ "id": "111cafd2-ba1b-5169-bfcb-9cdf1d473ddb", "labels": [ "flor1", "bld4" ], "mac": "921b638445cd", "notes": "MAC address refers to Canon printers", "site_ids": [ "4ac1dcf4-9d8b-7211-65c4-057819f0862b", "52f4347e-3e4b-186c-21ca-ad5b70eb23d6" ], "vlan": "30"}