Delete an account's DID Document (writes to the ledger)
revoke_didRemove the signer’s DID Document from the XRP Ledger via a DIDDelete transaction so it no longer resolves; this writes to the ledger, spends XRP, and leaves credentials intact.
Instructions
Submit a DIDDelete transaction, removing the account's DID Document from the ledger so the DID no longer resolves. THIS WRITES TO THE LEDGER and spends XRP.
DIDDelete takes only common fields -- it always deletes the signer's own DID, so the address must match the account the seed controls.
This does NOT delete the account's credentials. A DID and a credential are separate ledger objects, and rippled's DIDDelete erases only the DID. To withdraw an authorization, revoke the credential too.
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 | ||
| address | Yes | ||
| network | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||