kya_revoke
Destructive
Free. The company revokes the credential at once (e-CNPJ-signed request). Revocations are listed at /v1/revocations.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| signed_text | Yes | Exactly "KYA Brasil: revoke <credential_id>" followed by a newline and a nonce of your choice. | |
| credential_id | Yes | credential_id returned by kya_register. | |
| ecnpj_signature | Yes | CMS/PKCS#7 SignedData (detached, base64 DER) of signed_text with the company's e-CNPJ. |