VarisDocs
Dashboard

Sign this machine out of the CLI

POST/v1/cli/logout

Revokes the device token that sends the request, and only that one. Other machines signed in as the same developer stay signed in; sign them out from the dashboard's Devices settings.

Needs only the device token. Afterwards the token is rejected on every route, this one included, so a second call is a 401. Treat that as success: the machine is signed out either way.

Headers

AuthorizationBearer <token>required

A device token, prefixed var_dt_, issued by varis login to one machine and stored there. Identifies the human; carries no permissions of its own. Expires 180 days after its last use, and can be revoked from the dashboard.

Response

application/json

This machine is signed out.

signed_outbooleanrequired
request_idstringrequired
curl -X POST 'https://api.usevaris.com/v1/cli/logout'
{  "signed_out": true,  "request_id": "string"}