Cloud Administration Retrieve Hardware Token Details API
a month ago

Cloud Administration Retrieve Hardware Token Details API

The Cloud Administration Retrieve Hardware Token Details API enables Help Desk Administrators to retrieve a hardware token record by providing a token serial number.

For information about managing access to this API, see Accessing the Cloud Administration APIs.

Authentication

Clients calling this API must authenticate themselves by including a JSON web token in the request. For instructions on using this token, see Authentication for the Cloud Administration APIs.

Software Developer Kit

You can download the API Software Developer Kit (SDK) from Cloud Administration REST API Download.

Request Requirements

Use the following information to retrieve a hardware token by providing a token serial number.

MethodRequest URLResponse Content TypeResponse BodyResponse Codes
POST/AdminInterface/restapi/v1/sidTokens/lookupapplication/jsonToken details with property200, 400, 403, 404, 429, 500

Example Request Data

The following example displays a request.

POST /AdminInterface/restapi/v1/sidTokens/lookup

Accept: application/json

Authorization: Bearer <JWT token>

Example Request Body

{

"tokenSerialNumber": "000000200002"

}

Request Property Descriptions

The following table shows request property descriptions and other associated information.

PropertyDescriptionRequired?Max LengthData Type
tokenSerialNumberThe serial number of the hardware token. The number is displayed at the back of the SecurID700 token.Yes36String

 

Example Response

The following example response shows the status of a single hardware token with the token serial number specified in the request.

{

"deviceType": "SID700",

"tokenStatus": "Enabled",

"assignedBy": null,

"registeredDate": null,

"assignedAt": null,

"tokenStatusChangedAt": null,

"userId": null,

"expiryDate": "2027-02-12T00:00:00.000Z",

"tokenSerialNumber": "000000200002",

"pinSet": false,

"name": null,

"id": "486177dd-5e3a-4094-a98f-9ee03f4ad0cd",

"tokenState": "Unassigned",

"tokenStatusChangedBy": null,

"updatedAt": "2021-06-04T16:16:56.879Z"

}

Response Property Descriptions

The following table shows response property descriptions and the associated data types.

PropertyDescriptionData Type
idIdentifies the hardware token.String
nameName of the hardware token.String
userIdIdentifies the user to whom the hardware token is assigned or registered.String
deviceTypeDevice type information related to the hardware token.String
registeredDateTimestamp when the hardware token was registered (enrolled) by a user. This date is null when the token is assigned to a user by the administrator and the user has not registered it.String
tokenSerialNumberSerial number of the hardware token.String
updatedAtLast updated timestamp of the hardware token. For information on formatting timestamps in ISO 8601 format, see https://www.w3.org/TR/NOTE-datetime.String
tokenStateState of the hardware token: Unassigned, Activation Pending, or Activated.String
expiryDateHardware token expiration date. For information on formatting timestamps in ISO 8601 format, see https://www.w3.org/TR/NOTE-datetime.String
tokenStatusStatus of the hardware token: Enabled or Disabled.String
assignedAtThe timestamp when the hardware token was assigned to a user by the administrator. Alternatively, this can be the timestamp when a user registered a token that was not pre-assigned. For information on formatting timestamps in ISO 8601 format, see https://www.w3.org/TR/NOTE-datetime.String
pinSetFlag that tells the system whether the user has set a PIN or not.
Possible values:
True - PIN is set. False - PIN is not set.
Boolean
tokenStatusChangedAtThe timestamp when the hardware token was enabled or disabled. For information on formatting timestamps in ISO 8601 format, see https://www.w3.org/TR/NOTE-datetime.String
tokenStatusChangedByIdentifies the administrator who enabled or disabled the hardware token.String

Response Codes

The following table shows response codes and descriptions for this API.

CodeDescription
200Hardware token is successfully found.
400Hardware token serial number is not provided as a parameter.
403User is not authorized to perform the request.
404Hardware token with serial number is not found.
429Too many requests.
500Internal error occurred while processing the request.