Revoke a certificate

Revoke a certificate

Body required
application/json

Certificate revocation request. When certificate is specified, serial and ca are ignored

Responses
  • 200 Certificate successfully revoked. Also returned, with the certificate unchanged, when the certificate was already revoked or is expired
    principals
    array of string required

    Hostnames covered by the certificate

    signingCa
    string required

    The Signing CA identifier

    publicKey
    string required

    The OpenSSH public key embedded in the certificate

    id
    string (Internal ID) required

    Object internal ID

    ca
    string required

    Name of the OpenSSH Certificate Authority the certificate is enrolled on

    template
    string required

    Name of the Template the certificate is enrolled on

    certificate
    string (OpensshCertificate) required
    type
    string (SSHCertificateType) required

    The Type of OpenSSH certificate. When neither the enrollment request nor the template specifies it, USER is used

    Enum USER HOST
    serial
    string required

    The serial number of the certificate

    validAfter
    string required

    The start of the validity period of the certificate

    validBefore
    string required

    The end of the validity period of the certificate

    publicKeyThumbprint
    string required

    The thumbprint of the public key of the certificate

    revoked
    boolean required

    If true, the certificate is revoked

    keyId
    string required
    revocationDate
    string

    The revocation date of the certificate

  • 400 Bad Request
  • 401 Unauthorized request
  • 403 Forbidden action
  • 404 Not Found
  • 500 Internal Server error