Skip to main content

Create a VASCO credential

POST 

/nevisidm/api/core/v1/:clientExtId/vasco

Since: 8.2605.0, 9.2605.0

Required permission(s): AccessControl.CredentialCreate,AccessControl.CredentialView

Creates a new VASCO Digipass token credential within the given client.

The request must include at least one Digipass token data block in vascoTokens. Each token entry must specify a unique authMode (e.g. "CR", "RO") and the corresponding Base64-encoded Digipass data block. If policyExtId is provided, the referenced policy must exist and be of type VascoPolicy. If omitted, the default VASCO policy for the client is applied.

The credential is created in an unassigned state. To assign the credential to a user, use User REST service's dedicated endpoint. The extId field is optional. If not provided, an external ID is generated automatically. The created credential is returned in the response body, and its URL is included in the Location header.

Request

Path Parameters

    clientExtId stringrequired

    External ID of the client.

    Example: client-123

Body

required
    extId string

    The external ID of the credential.

    policyExtId string

    The external ID of the policy to apply to this credential. If omitted, the default VASCO policy for the client is used.

    stateName string

    Possible values: [initial, active, tmp-locked, fail-locked, reset-code, admin-changed, disabled, archived]

    The initial state of the credential.

    vascoTokens object[]required

    List of VASCO Digipass token data blocks to associate with this credential. At least one token is required.

  • Array [
  • authMode string

    The authentication mode this Digipass data block is used for.

    data string

    The Base64-encoded VASCO Digipass proprietary data block.

  • ]

Responses

VASCO credential created successfully

Response Headers
  • Location any

    URL of the created resource

Schema
    created string

    Creation date of the entity.

    lastModified string

    Date when the entity was last modified.

    version int32

    Version used for optimistic locking.

    extId string

    The external ID of the credential.

    userExtId string

    The external ID of the user to whom the credential belongs.

    policyExtId string

    The external ID of the used policy.

    stateName string

    Possible values: [initial, active, tmp-locked, fail-locked, reset-code, admin-changed, disabled, archived]

    The state of the credential. Available values: initial, active, tmp-locked, fail-locked, reset-code, admin-changed, disabled, archived.

    stateChangeReason string

    Reason for the last state change of the password.

    stateChangeDetail string

    Reason detail for the last state change of the password.

    lastSuccessfulLoginDate string

    Timestamp of last successful login.

    successfulLoginCount int32

    Counts successful logins with this credential since last initialization or reset.

    lastFailedLoginDate string

    Date of last non-technical login failure, for example, wrong password.

    failedLoginCount int32

    Counts non-technical login failures since the last successful login, initialization or reset.

    modificationComment string

    Textual comment regarding the last modification.

    type string

    Possible values: [Password, Certificate, SecurID User Mapping, Ticket Authorization, Safeword User Mapping, OTP Card, Temporary Strong Password, Generic Credential, Kerberos, mTan, Vasco, PUK, URL Ticket, DevicePassword, MobileSignature, SAML Federation, Security Questions, Context Password, OATH, FIDO UAF Authenticator, Recovery Code, FIDO2 Authenticator]

    Type of credential.

    validity object

    Describes the validity period of the password.

    from string

    Start date of the entity's validity in ISO format.

    to string

    End date of the entity's validity in ISO format.

    vascoTokens object[]

    List of VASCO Digipass token data blocks associated with this credential.

  • Array [
  • authMode string

    The authentication mode this Digipass data block is used for.

    data string

    The Base64-encoded VASCO Digipass proprietary data block.

  • ]
Loading...