REST API  17
REST API for Luna Network HSMs
GET /api/lunasa/ntls/clients/{clientid}/dn

GET /api/lunasa/ntls/clients/{clientid}/dn

This resource shows the client's distinguished name filter.

User Privileges

Users with the following role privileges can perform this command:

  • admin
  • operator
  • monitor

Parameters

clientid

The identifier of the client of interest.

Use: Required

JSON Schema:

   Object
   type: string
   minLength: 1
   maxLength: 128
   pattern: ^(?!server$)[a-zA-Z0-9_.:-]*$

Responses

200

Distinguished Name filter of a client.

JSON Schema: Distinguished Name

400

FRAMEWORK_BAD_REQUEST

Returned when the input data does not conform to the required validation schema.

404

NTLS_NO_CLIENT

The client does not exist.

500

NTLS_CLIENT_FAILED_TO_GET_DN_FILTER

Failed to show distinguished name filter.

Example Request

   GET 
   https://1.2.3.4:8443/api/lunasa/ntls/clients/testClient/dn

Example Result

{
   "dn":"C=CA/ST=Ontario/L=Ottawa/O=My company/DC=thales/DC=com"
}