![]() |
REST API
17
REST API for Luna Network HSMs
|
This resource assigns a distinguished name filter to a client.
Users with the following role privileges can perform this command:
The identifier of the client of interest.
Use: Required
JSON Schema:
Object type: string minLength: 1 maxLength: 128 pattern: ^(?!server$)[a-zA-Z0-9_.:-]*$
Distinguished name of the client.
Use: Required
JSON Schema:
Object type: string minLength: 1 maxLength: 241 pattern: ^(([a-zA-Z]+=[a-zA-Z0-9_@.-]+( +[a-zA-Z0-9_@.-]+)*/?)+)$
Successful.
Returned when the input data does not conform to the required validation schema.
The client does not exist.
Distinguished name provided is invalid.
Failed to add distinguished name filter.
PUT
https://1.2.3.4:8443/api/lunasa/ntls/clients/testClient/dn
{
"dn": "C=CA/ST=Ontario/L=Ottawa/O=My company/DC=thales/DC=com"
}
{
}
This resource will require SO authentication when the forceSoLogin flag is enabled. (See GET /api/lunasa)