Account Device
Device (by mac) Profiles
Use to assign configuration profiles to a device (mac). Send the full list of profile IDs that should be assigned; an empty list removes all profile assignments from the device.
put/v2/partition/{partitionId}/account/{accountId}/device/{macAddress}/profiles
Request
- Base URLhttps://api.alianza.com
- AuthAPI key in header X-AUTH-TOKEN
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
accountIdstring required
ID of account, refers to <a href="#/~schema/Account">account.id</a>
macAddressstring required
The 48-bit hexadecimal address assigned to the device by the manufacturer.
partitionIdstring required
ID of partition, reference to <a href="#/~schema/Account">account.partitionId</a>
Request body
Example request
{
"profileIds": [
"550e8400-e29b-41d4-a716-446655440000"
]
}Response
Successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.