Bulk attributes by Id
POST/attributes/bulk/id
Before setting an attribute value for a specific resource, the attribute definition needs to be created. Usually, multiple attributes need to be created or updated at the same time which is useful to eliminate a lot of API requests. This endpoint is used for bulk processing of attribute definitions based on an Id.
The id
field is required and when it is 0 a new attribute will be created, otherwise the attribute definition will be updated. When updating, although part of the request body, the fields name
, class
and type
are ignored.
Request
Responses
- 200
- 400
Bulk attributes by Id - 200
Response Headers
Alt-Svc
Via
alt-svc
content-length
date
return-format
server
x-request-id
Bulk attributes by Id - 400 (missing name)
Response Headers
Alt-Svc
Via
alt-svc
content-length
date
return-format
server
x-request-id