Revoke a credential (writes to the ledger)
revoke_credentialSubmits a CredentialDelete transaction to withdraw a credential so it no longer counts as held on the XRP Ledger; requires write access and spends XRP.
Instructions
Submit a CredentialDelete transaction, withdrawing one credential so it no longer counts as held. THIS WRITES TO THE LEDGER and spends XRP.
A credential is identified by the triple (issuer, subject, credential_type). The issuer or the subject may sign the delete.
This tool is only available if the server was started with --allow-writes. The signing seed comes from the OS keychain, which the server reads itself, so the seed never passes through the agent's context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| network | No | ||
| subject | Yes | ||
| credential_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||