auth

Issue Cli Token

Issue a CLI JWT for the authenticated user.

Called by the frontend /api/auth/cli-token route. The caller must present a valid session JWT (Authorization: Bearer …); the user identity is taken from that token, never from the request body, to prevent impersonation.

post/api/auth/cli-token

Request

  • Base URL
    https://api.maritime.sh (the document declares no server; this is the origin it was published from)
  • URL
    https://api.maritime.sh/api/auth/cli-token
  • Auth
    HTTP bearer

Response

Successful Response

object required

Changes

No recorded changes to this operation across all 1 revision of this API.