| Description | : Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object. This operation requires the certificates/delete permission. |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "DeleteCertificate",
"$responses": {
"200": {
"$properties": [
{
"policy": [
{
"x509_props": [
{
"sans": [
{
"#name": "dns_names",
"Description": {
"new": "Domain Names.",
"old": "Domain names."
}
},
{
"#name": "upns",
"Description": {
"new": "User Principal Names.",
"old": "User principal names."
}
}
]
}
]
}
]
},
{
"#name": "contentType",
"Description": {
"new": "The content type of the secret. eg. 'application/x-pem-file' or 'application/x-pkcs12'.",
"old": "The content type of the secret. eg. 'application/x-pem-file' or 'application/x-pkcs12',"
}
},
{
"#name": "tags",
"Description": {
"new": "Application specific metadata in the form of key-value pairs.",
"old": "Application specific metadata in the form of key-value pairs"
}
}
]
}
}
}
⚼ Request
DELETE:
/certificates/{certificate-name}
{
api-version:
string
,
certificate-name:
string
,
}
⚐ Response (200)
{
id:
string
,
kid:
string
,
sid:
string
,
x5t:
string
,
policy:
{
,
id:
string
,
key_props:
{
,
exportable:
boolean
,
kty:
enum
,
key_size:
integer
,
reuse_key:
boolean
,
crv:
enum
,
}
secret_props:
{
,
contentType:
string
,
}
x509_props:
{
,
subject:
string
,
ekus:
[
,
string
,
]
sans:
{
,
emails:
[
,
string
,
]
dns_names:
[
,
string
,
]
upns:
}
[
,
string
,
]
key_usage:
[
,
string
,
]
validity_months:
integer
,
}
lifetime_actions:
[
]
,
{
,
trigger:
{
,
lifetime_percentage:
integer
,
days_before_expiry:
integer
,
}
action:
}
{
,
action_type:
enum
,
}
issuer:
{
,
name:
string
,
cty:
string
,
cert_transparency:
boolean
,
}
attributes:
}
{
,
enabled:
boolean
,
nbf:
integer
,
exp:
integer
,
created:
integer
,
updated:
integer
,
recoverableDays:
integer
,
recoveryLevel:
enum
,
}
cer:
string
,
contentType:
string
,
attributes:
{
,
enabled:
boolean
,
nbf:
integer
,
exp:
integer
,
created:
integer
,
updated:
integer
,
recoverableDays:
integer
,
recoveryLevel:
enum
,
}
tags:
object
,
preserveCertOrder:
boolean
,
recoveryId:
string
,
scheduledPurgeDate:
integer
,
deletedDate:
integer
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
innererror:
string
,
}