# Deactivate a DID

Follow these instructions to deactivate a did:cheqd DID from ACA-Py Agent.

> ⚠️ **Important...**
>
> Your wallet must have the key(s) which were generated when the DID was created, without them signing will fail.

## Deactivate DID

To deactivate an active DID, pass the `did`id in the request body, with any additional `options`that you may have configured.

{% openapi src="<https://3569764573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPVAMvpKH7PYzvXA6u6Cn%2Fuploads%2F6otKdslTxD5vA4zstkSG%2Fswagger.json?alt=media&token=4be3b6bb-f452-4d59-b61c-c6dc0e597b74>" path="/did/cheqd/deactivate" method="post" %}
[swagger.json](https://3569764573-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPVAMvpKH7PYzvXA6u6Cn%2Fuploads%2F6otKdslTxD5vA4zstkSG%2Fswagger.json?alt=media\&token=4be3b6bb-f452-4d59-b61c-c6dc0e597b74)
{% endopenapi %}
