Delete certificate authority: Request

Prev Next

To remove the client certificate authority, send the following request:

DELETE https://<IA_IP_address>:<port_number>/config/v1/auth/x509/client/ca

Note

To use this request, your user account must have sudo access.

Required headers:

Cookie: px=<token>
X-Username: <user>
X-Role: <role>

Options

  • IA_IP_address—The IP address of the NDR appliance running the NDR API.

  • port_number—The port number of the NDR appliance running the NDR API.

  • token—This token authenticates the session. By default, the session times out after 24 hours.

  • user—The user ID.

  • role—The user's role.

Example

DELETE https://xxx.xxx.xxx.xxx:443/config/v1/auth/x509/client/ca

Required headers:

Cookie: px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
X-Username: wheel
X-Role: wheel

Delete certificate authority: Response

HTTP/1.1 [Response Code] [Response Message]				
Server: [Server]
Date: [Date]				
Response fields
  • Response code—A standard HTTP response code.

    • 200—Request successful; the deletion was successful.

  • Response message—A standard HTTP response message.

    • OK—Request successful; the deletion was successful.

  • Server—The server being used.

  • Date—Standard HTML date format.

Example
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 16 Aug 2019 14:01:09 GMT

cURL code sample: Delete certificate authority

curl -k --cookie "px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" 
-X DELETE -H "X-Username: wheel" -H "X-Role: wheel" 
https://xxx.xxx.xxx.xxx:443/config/v1/auth/x509/client/ca

This cURL sample includes the following options:

  • -k—This option explicitly allows cURL to perform insecure SSL connections and transfers, which allows you to test your SSL connection without installing a CA certificate.

  • --cookie "px=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"—This option specifies the authentication token for this session.

  • -X DELETE—Specifies using the DELETE method.

  • -H "X-Username: wheel"—User name.

  • -H "X-Role: wheel"—User role.

  • https://xxx.xxx.xxx.xxx:443/config/v1/auth/x509/client/ca—The CA request URL. Replace xxx.xxx.xxx.xxx with the IP address of your NDR appliance.

Results

This example removes the client certificate authority.