Revoke a session
Callable by the owner’s main-key session or by the session itself (sign-out). Another session on one of its accounts gets 403; any other caller 404. Revoking an already revoked session succeeds.
Authentication
Authorizationstring
API Key authentication via header
Path parameters
grant_id
Grant id
Query parameters
cancel_orders
Also cancel the session’s resting orders. Its TWAPs and untriggered stops are cancelled on an owner revoke; a session without a builder revoking itself (sign-out) leaves them working unless this is set.
Response
No content
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error