Delete a certificate.

View as Markdown
DELETE /api/v1/files/certificates/{certificate}

Deletes an existing certificate by its ID.

Path parameters

  • certificate string Required

    The ID of the certificate to delete.

Responses

  • 200 application/json

    Returns an object with a deleted parameter on success. Otherwise, this call returns an error.

    Hide response attributes Show response attributes object
    • deleted boolean
    • deleted_at integer

      Unix timestamp (seconds since epoch) of when the certificate was deleted.

    • id string

      The certificate ID.

    • object string

      Default value is certificate.

DELETE /api/v1/files/certificates/{certificate}
curl \
 --request DELETE 'https://api.1099policy.com/api/v1/files/certificates/ci_YnsHeB9PTo'
Response examples (200)
{
  "id": "ci_YnsHeB9PTo",
  "object": "certificate",
  "deleted": true,
  "deleted_at": 1640995200
}