SmartCredentialsApi
| Method | HTTP request | Description |
|---|---|---|
| activateSmartCredentialUsingPUT | PUT /api/web/v1/smartcredentials/{id}/activate | Activate a smart credential |
| changeSmartCredentialStateUsingPUT | PUT /api/web/v1/smartcredentials/{id}/changestate | Change smart credential state |
| completeSignSmartCredentialUsingPUT | PUT /api/web/v1/smartcredentials/{id}/completesign | Smart credential complete signature |
| createSmartCredentialUsingPOST | POST /api/web/v1/smartcredentials | Create a smart credential |
| deleteSmartCredentialUsingDELETE | DELETE /api/web/v1/smartcredentials/{id} | Delete a smart credential |
| exportCertificateUsingGET | GET /api/web/v1/smartcredentials/certificate/{id}/export/{format} | Export a certificate from a smart credential |
| getSCDefnByNameUsingPOST | POST /api/web/v1/scdefns/name | Get a smart credential definition by name |
| getSCDefnUsingGET | GET /api/web/v1/scdefns/{id} | Get a smart credential definition |
| getSmartCredentialBySerialNumberUsingGET | GET /api/web/v1/smartcredentials/serialnumber/{sernum} | Get a smart credential by serial number |
| getSmartCredentialUsingGET | GET /api/web/v1/smartcredentials/{id} | Get a smart credential |
| holdCertificateUsingPUT | PUT /api/web/v1/smartcredentials/certificate/{id}/hold | Hold a certificate from a smart credential |
| listAllowedSCDefnsUsingGET | GET /api/web/v1/scdefns/users/{userId} | List allowed smart credential definitions |
| listSCDefnsUsingGET | GET /api/web/v1/scdefns | List smart credential definitions |
| revokeCertificateUsingPUT | PUT /api/web/v1/smartcredentials/certificate/{id}/revoke | Revoke a certificate from a smart credential |
| startSignSmartCredentialUsingPUT | PUT /api/web/v1/smartcredentials/{id}/startsign | Smart credential start signature |
| unassignSmartCredentialUsingPUT | PUT /api/web/v1/smartcredentials/{id}/unassign | Unassign a smart credential |
| unblockSmartCredentialUsingPUT | PUT /api/web/v1/smartcredentials/{id}/unblock | Unblock a smart credential |
| unholdCertificateUsingPUT | PUT /api/web/v1/smartcredentials/certificate/{id}/unhold | Unhold a certificate from a smart credential |
| updateSmartCredentialUsingPUT | PUT /api/web/v1/smartcredentials/{id} | Update a smart credential |
activateSmartCredentialUsingPUT
ActivateSmartCredentialResult activateSmartCredentialUsingPUT(id, activateSmartCredentialParms)
Activate a smart credential
Activate the specified smart credential. Caller requires the SMARTCREDENTIALS:EDIT permission.
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The UUID of the smart credential to be activated. | |
| activateSmartCredentialParms | ActivateSmartCredentialParms |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
changeSmartCredentialStateUsingPUT
changeSmartCredentialStateUsingPUT(id, smartCredentialChangeStateParms)
Change smart credential state
Change the state of the specified smart credential. Caller requires the SMARTCREDENTIALS:EDIT permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The UUID of the smart credential whose state is to be changed. | |
| smartCredentialChangeStateParms | SmartCredentialChangeStateParms |
Return type
null (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
completeSignSmartCredentialUsingPUT
SmartCredentialCompleteSignResponse completeSignSmartCredentialUsingPUT(id, smartCredentialCompleteSignParms)
Smart credential complete signature
Smart credential complete sign. Caller requires the SMARTCREDENTIALSSIGNATURE:ADD permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The UUID of the smart credential. | |
| smartCredentialCompleteSignParms | SmartCredentialCompleteSignParms |
Return type
SmartCredentialCompleteSignResponse
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
createSmartCredentialUsingPOST
SmartCredential createSmartCredentialUsingPOST(smartCredentialParms)
Create a smart credential
Create a smart credential for a user. Caller requires the SMARTCREDENTIALS:ADD permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| smartCredentialParms | SmartCredentialParms |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
deleteSmartCredentialUsingDELETE
deleteSmartCredentialUsingDELETE(id)
Delete a smart credential
Delete the specified smart credential. Caller requires the SMARTCREDENTIALS:REMOVE permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The UUID of the smart credential to be deleted. |
Return type
null (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
exportCertificateUsingGET
ExportCertificate exportCertificateUsingGET(id, format)
Export a certificate from a smart credential
Export the specified certificate. Caller requires the SMARTCREDENTIALS:VIEW permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The UUID of the certificate to be exported. | |
| format | String | The format in which to export the certificate. | [enum: CA, P7, CERT] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
getSCDefnByNameUsingPOST
SCDefn getSCDefnByNameUsingPOST(scDefnGetParms)
Get a smart credential definition by name
Get the smart credential definition for the specified name. Caller requires the SCDEFNS:VIEW permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| scDefnGetParms | SCDefnGetParms |
Return type
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
getSCDefnUsingGET
SCDefn getSCDefnUsingGET(id)
Get a smart credential definition
Get the smart credential definition for the specified UUID. Caller requires the SCDEFNS:VIEW permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The UUID of the smart credential definition to be retrieved. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
getSmartCredentialBySerialNumberUsingGET
SmartCredential getSmartCredentialBySerialNumberUsingGET(sernum)
Get a smart credential by serial number
Get the specified smart credential by serial number. Caller requires the SMARTCREDENTIALS:VIEW permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| sernum | String | The serial number of the smart credential to be retrieved. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
getSmartCredentialUsingGET
SmartCredential getSmartCredentialUsingGET(id, revocationInfo)
Get a smart credential
Get the specified smart credential. Caller requires the SMARTCREDENTIALS:VIEW permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The UUID of the smart credential to be retrieved. | |
| revocationInfo | Boolean | Optional flag indicating if revocation inforamtion should be returned. Defaults to false if not specified. | [optional] [default to false] |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
holdCertificateUsingPUT
holdCertificateUsingPUT(id)
Hold a certificate from a smart credential
Hold the specified certificate. Caller requires the SMARTCREDENTIALS:EDIT permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The UUID of the certificate to be put on hold. |
Return type
null (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
listAllowedSCDefnsUsingGET
List<SCDefn> listAllowedSCDefnsUsingGET(userId)
List allowed smart credential definitions
List allowed smart credential definitions. Caller requires the SCDEFNS:VIEW permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| userId | String | The UUID of the user whose allowed smart credential definitions to be fetched. |
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
listSCDefnsUsingGET
List<SCDefn> listSCDefnsUsingGET()
List smart credential definitions
List all the smart credential definition. Caller requires the SCDEFNS:VIEW permission.
Example
Parameters
This endpoint does not need any parameter.
Return type
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
revokeCertificateUsingPUT
revokeCertificateUsingPUT(id)
Revoke a certificate from a smart credential
Revoke the specified certificate. Caller requires the SMARTCREDENTIALS:EDIT permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The UUID of the certificate to be revoked. |
Return type
null (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
startSignSmartCredentialUsingPUT
SmartCredentialStartSignResponse startSignSmartCredentialUsingPUT(id, smartCredentialStartSignParms)
Smart credential start signature
Smart credential start sign. Caller requires the SMARTCREDENTIALSSIGNATURE:ADD permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The UUID of the smart credential. | |
| smartCredentialStartSignParms | SmartCredentialStartSignParms |
Return type
SmartCredentialStartSignResponse
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
unassignSmartCredentialUsingPUT
unassignSmartCredentialUsingPUT(id)
Unassign a smart credential
Unassign the specified smart credential. Caller requires the SMARTCREDENTIALS:EDIT permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The UUID of the smart credential to be unassigned. |
Return type
null (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
unblockSmartCredentialUsingPUT
SmartCredentialUnblockResponse unblockSmartCredentialUsingPUT(id, smartCredentialUnblockParms)
Unblock a smart credential
Unblock the specified smart credential. Caller requires the SMARTCREDENTIALS:EDIT permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The UUID of the smart credential that is to be unblocked. | |
| smartCredentialUnblockParms | SmartCredentialUnblockParms |
Return type
SmartCredentialUnblockResponse
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
unholdCertificateUsingPUT
unholdCertificateUsingPUT(id)
Unhold a certificate from a smart credential
Unhold the specified certificate. Caller requires the SMARTCREDENTIALS:EDIT permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The UUID of the certificate to be put removed from hold. |
Return type
null (empty response body)
Authorization
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
updateSmartCredentialUsingPUT
updateSmartCredentialUsingPUT(id, smartCredentialParms)
Update a smart credential
Update the specified smart credential. Caller requires the SMARTCREDENTIALS:EDIT permission.
Example
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | String | The UUID of the smart credential to be modified. | |
| smartCredentialParms | SmartCredentialParms |
Return type
null (empty response body)
Authorization
HTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful | - |
| 400 | Bad Request | - |
| 401 | Access denied | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |