Skip to the page

Sign out: revoke the session making this request

DELETE/v1/cli/sessions/current

Operation session.signOut · since 2026-11-05 · stable

Needs a session withreadscopeAnswers200 OK

The ended session.

Ends the session making the request; its tokens stop working at once.

Errors

Every error is { "error", "message", "detail"? } (Errors and references). Besides the codes any route can answer.

DELETE/v1/cli/sessions/current
curl -X DELETE "https://api.rykloud.com/v1/cli/sessions/current" \
  -H "Authorization: Bearer $RYKLOUD_TOKEN"
With the rykloud CLI
rykloud auth logout

Command reference: rykloud auth logout