Create keys
POST/batch-keys
This endpoint can create keys for multiple operators per call.
The keys can be created for multiple assets or assets in multiple sites, groups or an entire fleet depending on the payload.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
Keys have been created successfully. A list of created keys.
Bad request
Invalid or missing bearer token in Authorization header
User not allowed to make this request
Resource not found
Keys were not created. Validation failed on one of passed entities: assetId (properties.assetsNotFound will be populated), operatorId (properties.operatorsNotFound will be populated), groupId (properties.groupsNotFound will be populated), siteId (properties.sitesNotFound will be populated).
Internal server error