---
title: "Revokes the specified certificate"
method: PUT
path: "/v1/certificate/{issuer_dn}/{certificate_serial_number}/revoke"
tags: ["v1/certificate"]
---

# Revokes the specified certificate

`PUT /v1/certificate/{issuer_dn}/{certificate_serial_number}/revoke`

Revokes the specified certificate, changes revocation reason for an already revoked certificate, sets invalidity or revocation date

## Path parameters

- `issuer_dn` string, required
- `certificate_serial_number` string, required

## Query parameters

- `reason` string
- `date` string
- `invalidity_date` string

## Response `200`

Successful operation

- RevokeStatusRestResponse
  - `issuer _distinguished _name` string
  - `hex _serial _number` string
  - `rfc5280 revokation reason` string
  - `revokation date` string, date-time
  - `invalidity date` string, date-time
  - `message` string
  - `revoked` boolean

## Changes

- **2026-07-17** `44f8798658e2` — 5 warning, 5 info
  - removed the optional property `invalidity_date` from the response with the `200` status
  - removed the optional property `issuer_dn` from the response with the `200` status
  - removed the optional property `revocation_date` from the response with the `200` status
  - removed the optional property `revocation_reason` from the response with the `200` status
  - …6 more
- **2025-08-14** `1df065b9d161` — 5 warning, 5 info
  - removed the optional property `hex _serial _number` from the response with the `200` status
  - removed the optional property `invalidity date` from the response with the `200` status
  - removed the optional property `issuer _distinguished _name` from the response with the `200` status
  - removed the optional property `revokation date` from the response with the `200` status
  - …6 more
- **2025-03-11** `4045b1bab09f` — 5 warning, 5 info
  - removed the optional property `invalidity_date` from the response with the `200` status
  - removed the optional property `issuer_dn` from the response with the `200` status
  - removed the optional property `revocation_date` from the response with the `200` status
  - removed the optional property `revocation_reason` from the response with the `200` status
  - …6 more
- …earlier changes not shown

[Full history](https://skmtc.dev/keyfactor/apis/ejbca-rest-interface/changes/v1/certificate/:issuer_dn/:certificate_serial_number/revoke/put.md)

---

[API](https://skmtc.dev/keyfactor/apis/ejbca-rest-interface.md) · [All operations](https://skmtc.dev/keyfactor/apis/ejbca-rest-interface/llms.txt) · [OpenAPI document](https://skmtc.dev/keyfactor/apis/ejbca-rest-interface/revisions/44f8798658e2?raw)
