Device Type REST API
The Device/Type endpoint allows creating and managing push-based authentication device types, including customization. This endpoint also enables defining devices with specific graphical/cryptographic customizations for subsets of users in the same
HID Authentication Service includes a set of default device types.
The API version supported by HID Authentication Service is
Previous versions of the API are also supported with the corresponding functionality.
Method Details
| HTTPS Method | Entity Action | Request URI | Description |
|---|---|---|---|
|
Read |
/configuration/{tenant}/v2/Device/Type |
Retrieve all the device types |
|
|
Read |
/configuration/{tenant}/v2/Device/Type/{id} |
Retrieve a known device type |
|
|
Create |
/configuration/{tenant}/v2/Device/Type |
Create a device type |
|
|
Replace |
/configuration/{tenant}/v2/Device/Type/{id} |
Update a known device type |
|
|
Delete |
/configuration/{tenant}/v2/Device/Type/{id} |
Delete a known device type |
Get All Device Types
[GET] /Device/Type
Sample Response
{
"ignored": "string",
"schemas": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"],
"totalResults": 1,
"startIndex": 0,
"resources": [
{
"ignored": "string",
"schemas": ["string"],
"meta": {
"resourceType": "TheResource",
"created": "2023-02-08T16:25:38.098Z",
"location": "https://[base-server-url]/configuration/{tenant}/v2/<pathToResource>/<id>",
"version": 1
},
"copyFrom": "string",
"id": "string",
"name": "string",
"notes": "string",
"readOnly": false,
"manufacturer": "string",
"defaultCredentialTypeCode": "string",
"maximumDevicePerUser": -1,
"allowedCredentialTypes": ["string"],
"urn:hid:scim:api:idp:2.0:device:type:Token": {
"deviceFormFactor": "urn:hid:scim:api:idp:2.0:device:type:Token",
"challengeLength": 0,
"supportedAuthenticationMethod": "BOTH",
"syncAuthenticationCodeLength": -1,
"asyncAuthenticationCodeLength": -1,
"supportsUnlock": false,
"unlockChallengeLength": -1,
"supportsSynch": "SUPPORT_ALL",
"synchronisationBase": "BOTH",
"autoSynchEventCounter": 200,
"autoSynchStartTime": -3600,
"autoSynchEndTime": 3600,
"supportsSignatureVerification": false,
"supportsSoftPin": false,
"pinMinLength": 4,
"pinMaxLength": 8"pinPosition": "NONE",
"allowedCredentialNumber": 100,
"defaultPin": "string"
},
"urn:hid:scim:api:idp:2.0:device:type:Virtual": {
"deviceFormFactor": "urn:hid:scim:api:idp:2.0:device:type:Virtual"
},
"urn:hid:scim:api:idp:2.0:device:type:Fido": {
"deviceFormFactor": "urn:hid:scim:api:idp:2.0:device:type:FIDO:Generic",
"challengeLength": 0
}
<--truncated output-->
}
]
}
Get Device Type
[GET] /Device/Type/{id}
Create a Device Type
[POST] /Device/Type
Accept: application/scim+json
For details of the extension, see urn:hid:scim:api:idp:2.0:device:Type
Replace Device Type
[PUT] /Device/Type/{id}
Accept: application/scim+json
Delete Device Type
All the delete endpoints follow the same standard pattern and can be reached through the following URL pattern:
Accept: application/scim+json