API ReferenceGeneratedAgents
Revoke agent
Disables the agent's API key and marks the wallet as revoked, in one transaction. Idempotent. A revoked wallet owned by the same user can be re-registered later (a fresh key is minted).
Authorization
apiKey AuthorizationBearer <token>
Linkex API key (sk-...), including agent keys. Session cookie auth is also accepted on /api/user/* routes.
In: header
Path Parameters
agent_id*integer
Response Body
application/json
curl -X DELETE "https://example.com/api/user/self/agents/0"{ "success": true, "message": "string", "data": null}