# Revocation (https://developer.godaddy.com/en/docs/references/rest/ans/revocation)

***

title: Revocation
description: ''
full: true
\_openapi:
preload:

* ./openapi-specs/specs/external/ans.yaml
  toc:
* depth: 2
  title: Revoke an active agent or cancel a pending registration
  url: '#revoke-an-active-agent-or-cancel-a-pending-registration'
  structuredData:
  headings:
  * content: Revoke an active agent or cancel a pending registration
    id: revoke-an-active-agent-or-cancel-a-pending-registration
    contents:
  * content: >
    Revokes an active agent or cancels a pending registration.

    For ACTIVE agents: Revokes the agent due to key compromise,
    decommissioning,

    or other security reasons. The certificate is added to the Certificate

    Revocation List (CRL) and the agent's entry in the registry is
    flagged.

    For PENDING registrations (PENDING\_CERTS or PENDING\_DNS status):
    Cancels

    the registration attempt after domain validation has been completed.
    This

    will cancel any pending certificate issuance jobs and revoke any
    already-issued

    certificates.

    Registrations in PENDING\_VALIDATION status (pre-ACME verification)

    are not cancellable via this API and will automatically expire if the

    ACME verification is not completed within the specified timeframe.
    heading: revoke-an-active-agent-or-cancel-a-pending-registration

***
