# How to Suspend Certificates

## Certificate Suspension Workflow

<figure><img src="/files/susS6J662NGZkA7lQ0ob" alt=""><figcaption></figcaption></figure>

For suspension services, the end date is required in the payload request body.

### Step 1: Initiate Certificate Suspension&#x20;

* **Request method:** POST
* **Request URL:** {{baseUrl}}/vc-certification/v1/certificate/revoke

#### Request Body

```
{
    "certificateId": "614894628867",
    "entityName": "HealthProfessional_1",
    "endDate": "2023-12-31T05:03:01.749Z" 
}
```

#### Response Json

```
{
    "message": "Certificate Revoked",
    "certificateRevokeResponse": {
        "id": "sunbird-rc.registry.create",
        "ver": "1.0",
        "ets": 1674746120028,
        "params": {
            "resmsgid": "",
            "msgid": "5006f959-7251-4694-9138-566bc0b6a873",
            "err": "",
            "status": "SUCCESSFUL",
            "errmsg": ""
        },
        "responseCode": "OK",
        "result": {
            "RevokedVC": {
                "osid": "1-039d8e4f-5014-4cb3-9a17-ede4c45877cd"
            }
        }
    }
}
```

Step 2: Verify the Suspended Certificate&#x20;

* Enter the URL: [{{baseUrl}}/verification-app/](http://3.7.57.244/verification-app/)
* Click on Scan QR code.

<figure><img src="/files/CfjYP1zbLLlLfoVl4aDM" alt=""><figcaption></figcaption></figure>

<br>

[![Creative Commons License](https://i.creativecommons.org/l/by/4.0/80x15.png)](http://creativecommons.org/licenses/by/4.0/)*All content on this page by* [*eGov Foundation*](https://egov.org.in/) *is licensed under a* [*Creative Commons Attribution 4.0 International License*](http://creativecommons.org/licenses/by/4.0/)*.*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://divoc.digit.org/divoc-wiki-3.1/platform/divocs-verifiable-certificate-features-3.0/how-to-suspend-certificates.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
