Set a key card as primary
POST/operators/:operatorId/keycards/:keyCardId/primary
Set a new primary key card for the operator. Operator can only have one primary key card.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Key card has been successfully set as primary.
Bad request
Invalid or missing bearer token in Authorization header
User not allowed to make this request
Resource not found
Internal server error