Skip to main content

Assign user to token

PUT 

/api/web/v1/users/:id/tokens/assign

Given a user assign a hardware token. Caller requires the TOKENS:EDIT permission.

Request

Path Parameters

    id stringrequired

    The UUID of the user to which the token is to be assigned.

Body

required

    response string

    When the assign operation is not being performed by an administrator, a token response from the token being assigned must be provided.

    serialNumber string

    When assigning a token to a known user, this argument specifies the serial number of the token being assigned.

    tokenType string

    When assigning a token to a user this attribute optionally specifies the type of token to be assigned. It can be a value of OATH_PHYSICAL_TOKEN or ENTRUST_LEGACY_TOKEN. This attribute is only required if the serial number is not unique.

    userId string

    When assigning a known token to a user, this argument specifies the user Id or user alias of the user to which the token will be assigned.

Responses

Successful

Loading...