---
type: api
title: Delete extra certificate
description: Delete an extra certificate.
url: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/cloud-enterprise/v3/operation/operation-delete-extra-certificate
resource: https://www.elastic.co/elastic/docs-builder/docs/4641/api/doc/cloud-enterprise/v3/operation/operation-delete-extra-certificate
products:
  - Elastic Cloud Enterprise
---

# Delete extra certificate

Authentication: required

## Paths

- `DELETE` `/platform/configuration/security/extra_certs/{cert_id}`

#### Path parameters

- `cert_id` (string) — required
  The extra certificate Id. For example, `star_my_domain_com`.

## Description

Delete an extra certificate.

## Responses

#### `200`

Extra certificate under the given id is deleted if exists

`application/json`

Type: `object`

#### `404`

The extra certificate cannot be found. (code: `cert.not_found`)

`application/json`

- `errors` (object[])
  A list of errors that occurred in the failing request
  - `code` (string)
    A structured code representing the error type that occurred
  - `message` (string)
    A human readable message describing the error that occurred
  - `fields` (string[])
    If the error can be tied to a specific field or fields in the user request, this lists those fields
##### Response headers

- `x-cloud-error-codes` (enum)
  The error codes associated with the response

## Code examples

#### curl

```curl
curl -X DELETE "${API_URL}/platform/configuration/security/extra_certs/${CERT_ID}" \
  -u "${USERNAME}:${PASSWORD}"
```

## Response examples

#### 200

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{}
```

#### 404

`application/json`

Generated from the API spec. Values are representative. Unions use the first variant; deeply nested or large bodies may omit fields.

```json
{
  "errors": [
    {
      "code": "string",
      "message": "string",
      "fields": [
        "string"
      ]
    }
  ]
}
```

