---
title: "Revoke active certificate"
method: POST
path: "/v1/certificates/{certificateId}/revoke"
tags: ["v1"]
---

# Revoke active certificate

`POST /v1/certificates/{certificateId}/revoke`

## Request

- Base URL: `https://api.ote-godaddy.com`
- URL: `https://api.ote-godaddy.com/v1/certificates/{certificateId}/revoke`
- Auth: none declared

Use revoke call to revoke an active certificate, if the certificate has not been issued a 404 response will be returned.

## Path parameters

- `certificateId` string, required

## Request body

- CertificateRevoke
  - `reason` 'AFFILIATION_CHANGED' | 'CESSATION_OF_OPERATION' | 'KEY_COMPROMISE' | 'PRIVILEGE_WITHDRAWN' | 'SUPERSEDED', required: Reason for revocation

## Response `204`

Certificate Revoked

## Other responses

- `400`: Request was malformed
- `401`: Authentication info not sent or invalid
- `403`: Authenticated user is not allowed access
- `404`: Certificate id not found
- `409`: Certificate state does not allow revoke
- `500`: Internal server error

---

[API](https://skmtc.dev/godaddy/apis/godaddy-certificates-api.md) - [All operations](https://skmtc.dev/godaddy/apis/godaddy-certificates-api/llms.txt) - [OpenAPI document](https://skmtc.dev/godaddy/apis/godaddy-certificates-api/revisions/100b3aa2d7ee?raw)
