Skip to navigation

Revoke one of your temporary SSH tokens by id

Beta

Revoke a temporary SSH token you minted for this computer, by the id list_ssh_access_tokens returns. The token stops admitting connections and every open SSH session using it is disconnected. An expired token can still be revoked, which ends a session that outlived its expiry. Returns 404 for an id that is not one of your unrevoked tokens on this computer. Requires edit access to the computer.

Authentication

X-API-KEYstring
API Key authentication via header

Path parameters

asset_idstringRequired
token_idstringRequired

Headers

X-Athena-Session-CredentialstringOptional

Response

Successful Response
revokedboolean
Whether the SSH token was revoked

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
502
Bad Gateway Error