Replace the set of attributes for a device
PUT/api/devices/v1/inventory/device/attributes
Replaces the attribute set for the authenticated device with the provided one. The device ID is retrieved from the authorization header.
This method replaces all the attributes with the new set:
-
attributes not provided in the set are removed from the db
-
the values of existing attributes are overwritten
-
attributes assigned for the first time are automatically created
Request
Responses
- 200
- 400
- 401
- 500
Attributes were uploaded successfully.
Invalid Request.
Unauthorized.
Internal Server Error.