revokeAgent action immediately invalidates a previously authorized agent wallet. Once revoked, the agent can no longer submit orders, cancellations, or any other signed operations on behalf of your master account. The quota slot previously occupied by the agent is freed and can be reused.
Only the master account that originally approved the agent can revoke it. To view all currently active agents for your account, query userAgents via POST /info.
Endpoint
Request
All requests must include an ECDSA signature and a millisecond-precision nonce. This request must be signed by the master account.Action fields
string
required
Fixed value:
"revokeAgent".string
required
The Ethereum address of the agent wallet to revoke. Must match an agent previously approved by your master account.
Response
Success
Response fields
string
The address of the agent that was revoked, echoed back for confirmation.
Error reference
Rejections returnstatus: "ok" with an errorCode and errorMessage in data.