General APIs with JWT

Approve Cli Auth Session

Approve CLI authentication session (requires user authentication). Creates a new expiring read, rent and manage API key for the CLI and associates it with the session. session_id in the body is the approval page's id from browser_url; the CLI's own session id is refused.

post/cli-auth/approve

Request

  • Base URL: https://lium.io/api
  • URL: https://lium.io/api/cli-auth/approve
  • Auth: HTTP bearer

Request body

session_idstring required
api_key_namestring nullable

Response

Successful Response

successboolean required
messagestring required

Changes

No recorded changes to this operation across all 57 revisions of this API.