You can perform a DELETE operation on a certificate resource to remove it from the environment. However, the certificate must not be associated with any applications. If the certificate is used by an application, it cannot be deleted.

To delete a certificate resource, use the DELETE /environments/{environmentId}/certificates/{certificateId} operation and specify the ID of the certificate to delete in the request URL.

When successful, the DELETE request returns a code 204 No Content message.