# certificate.delete

Delete certificate of `id`.

If the certificate is an ACME based certificate, the certificate service will try to revoke the certificate by updating its status with the ACME server. If that fails, an exception is raised and the certificate is not deleted from the system. However, if `force` is set to `true`, the certificate is deleted from the system even if some error occurred while revoking the certificate with the ACME server.

This method is a job.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: id

#### id

Type: integer

ID of the certificate to delete.

##### Parameter 2: force

#### force

Type: boolean Default: false

Whether to force deletion even if certificate is in use.

##

#### Result

Type: boolean

Returns `true` when the certificate is successfully deleted.

Required roles: CERTIFICATE_WRITE