Update pass (full update)
PUT/pass-srv/pass/:passId
Performs a full update of a pass. All fields must be provided as this replaces the entire pass object.
Important constraints:
passIdandproductInstanceIdcannot be changedpassUserHolder.sub,pass.productId,passUser.givenName, andpassUser.familyNameare requiredvalidTomust be aftervalidFromif both are provided- The combination of
productIdandproductInstanceIdmust be unique (error code:PASS1016if duplicate) - The
subinpassUserHoldermust exist in the Cidaas user system (error code:PASS1005if not found)
Error Codes:
PASS1005: No user with provided sub existsPASS1016: Pass with productId + productInstanceId already existsPASS1002: Missing required payload fields
Request
Responses
- 200
- 400
- 404
Pass updated successfully
Bad Request - Invalid input data or validation error
Pass not found