Skip to main content
A newer release of this product is available.

Delete security certificates

Contributors

DELETE /security/certificates/{uuid}

Introduced In: 9.6

Deletes a security certificate.

  • security certificate delete

Parameters

Name Type In Required Description

uuid

string

path

True

Certificate UUID

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

3735644

Cannot delete server-chain certificate. Reason: There is a corresponding server certificate for it.

3735679

Cannot delete pre-installed server_ca certificates through REST. Use CLI or ZAPI.

3735650

Deleting this client_ca certificate directly is not supported. Delete the corresponding root-ca certificate using type root_ca to delete the root, client, and server certificates.

3735627

Deleting this server_ca certificate directly is not supported. Delete the corresponding root-ca certificate using type root_ca to delete the root, client, and server certificates.

3735589

Cannot delete certificate.

3735590

Cannot delete certificate. Failed to remove SSL configuration for the certificate.

3735683

Cannot remove this certificate while external key manager is configured.

3735681

Cannot delete preinstalled server-ca certificates. Use the CLI to complete the operation.

52560272

The certificate could not be removed due to being in use by one or more subsystems.

Name Type Description

error

returned_error

Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

Definitions

See Definitions

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

returned_error

Name Type Description

arguments

array[error_arguments]

Message arguments

code

string

Error code

message

string

Error message

target

string

The target parameter that caused the error.