Skip to main content

Update an OTP credential

PATCH 

/nevisidm/api/core/v1/:clientExtId/users/:userExtId/otp-credentials/:extId

Since: 8.2605.0, 9.2605.0

Required permission(s): AccessControl.CredentialModify,AccessControl.CredentialView or SelfAdmin Role

Partially updates the OTP card credential identified by its external ID, belonging to the specified user.

Only the fields provided in the request body are updated. Omitted fields remain unchanged. The credential's state, associated policy, and modification comment can be updated.

When a new policyExtId is provided, the referenced policy must exist and must be of the OTP card policy type. If the policy is not found or the type does not match, a 422 error is returned.

In self-admin mode, the user can update their own OTP credential. A valid JWT token must be provided in the X-Token request header.

Request

Responses

OTP credential updated successfully