Skip to content
Primary navigation

Delete certificate

$ openai admin:organization:certificates delete
DELETE/organization/certificates/{certificate_id}

Delete a certificate from the organization.

The certificate must be inactive for the organization and all projects.

ParametersExpand Collapse
--certificate-id: string

Unique ID of the certificate to delete.

ReturnsExpand Collapse
AdminOrganizationCertificateDeleteResponse: object { id, object }
id: string

The ID of the certificate that was deleted.

object: "certificate.deleted"

The object type, must be certificate.deleted.

Delete certificate

openai admin:organization:certificates delete \
  --admin-api-key 'My Admin API Key' \
  --certificate-id certificate_id
{
  "object": "certificate.deleted",
  "id": "cert_abc"
}
Returns Examples
{
  "object": "certificate.deleted",
  "id": "cert_abc"
}