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

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

This resource deletes the client's distinguished name filter.

User Privileges

Users with the following role privileges can perform this command:

  • admin
  • operator

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

204

Successful.

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.

404

NTLS_CLIENT_NO_DN_FILTER_CONFIGURED

No distinguished name filter is configured.

500

NTLS_CLIENT_FAILED_TO_DELETE_DN_FILTER

Failed to delete distinguished name filter.

Example Request

   DELETE 
   https://1.2.3.4:8443/api/lunasa/ntls/clients/testClient/dn
   {

   }

Example Result

{
}

Notes

This resource will require SO authentication when the forceSoLogin flag is enabled. (See GET /api/lunasa)