Skip to main content

End an active access session immediately

GET 

/computers/:computerId/expire

Expires the active JITA session of the caller (or, for an admin, of the user named by userId) on the computer.

The session expiry is moved to now and a worker removes the account from the local administrators group shortly after.

Authorization is the same as for the access request: callers act on their own session; acting for another user requires the admin role (user and superadmin tokens get 403) and the target must be a system administrator of the computer (otherwise 422). The t parameter is accepted by the shared parser but ignored here.

Returns 422 No existing access requests found. when the target user has no session in the expiring (active) state; a session that is still pending does not count. The call is idempotent: repeating it while the session is still listed as expiring returns 200 again. Only GET is routed; POST returns 405.

Required role: any authenticated user (on-behalf requests need admin).

Request​

Responses​

Expiration requested.