CLI

Approve CLI authentication request

Called from the browser (authenticated via Clerk) to approve a pending CLI authentication request and generate a long-lived token.

put/api/cli/auth

Request

  • Base URL: https://intentdocs.com
  • URL: https://intentdocs.com/api/cli/auth
  • Auth: API key in cookie __session

Request body

codestring required

The authentication code to approve

Response

Request approved successfully

okboolean

Changes

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