DELETE /agents/{address}
Revoke an agent
Revoke an agent.
operationId: revokeAgent
Not reachable through CCXT. Nexus-specific trading-agent registration. No CCXT equivalent — the closest unified concepts are API-key management, which CCXT deliberately leaves to the venue.
Authentication: hmacAuth.
Immediately revoke an agent key. Any in-flight requests signed by the revoked agent will be rejected after this call returns.
Parameters
address
path
string
Yes
—
Agent address to revoke (0x-prefixed)
Responses
200
— (no schema declared)
Agent revoked
401
— (no schema declared)
HMAC authentication required
404
— (no schema declared)
Agent not found or not owned by you
Example
curl -X DELETE 'https://exchange.nexus.xyz/api/exchange/agents/{address}' \
-H 'X-API-Key: nx_7f3a1b...' \
-H 'X-Timestamp: 1776033911836' \
-H 'X-Signature: <hmac-sha256>'import requests
headers = {
"X-API-Key": "nx_7f3a1b...",
"X-Timestamp": "1776033911836",
"X-Signature": "<hmac-sha256>"
}
response = requests.delete("https://exchange.nexus.xyz/api/exchange/agents/{address}", headers=headers)
response.raise_for_status()
print(response.json())const response = await fetch("https://exchange.nexus.xyz/api/exchange/agents/{address}", {
method: "DELETE",
headers: {
"X-API-Key": "nx_7f3a1b...",
"X-Timestamp": "1776033911836",
"X-Signature": "<hmac-sha256>"
},
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
console.log(await response.json());X-Signature is a placeholder: it is derived from this specific request. See Authentication for the canonical string and the HMAC rule.
Generated from eng/apps/exchange/api/openapi.json (spec 0.9.36). Do not edit by hand — regenerate with python3 product/docs/tools/api-reference/generate.py. Hand-authored context lives in the Guides pages.
Last updated

