kya_revoke
Free. The company revokes the credential at once (e-CNPJ-signed request). Revocations are listed at /v1/revocations.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"credential_id": "<credential_id>",
"signed_text": "<signed_text>",
"ecnpj_signature": "<ecnpj_signature>"
},
"name": "kya_revoke"
}
}Input 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. |