CLI Auth

Poll for CLI device-authorization approval (RFC 8628)

Public, unauthenticated. The CLI submits its deviceCode until the user approves or denies. On approval a real API key is minted ONCE, scoped to the approved Space and the approving user's membership, and returned a single time. Rate-limited per client IP.

post/auth/cli/poll

Request

  • Base URL: https://krova.cloud/api/v1
  • URL: https://krova.cloud/api/v1/auth/cli/poll
  • Auth: none required

Request body

deviceCodestring required

The device code from /auth/cli/start.

Response

Approved — API key minted (returned once)

apiKeystring required

The full API key. Shown once and never returned again — store it securely.

spaceIdstring required

The Space the key is scoped to.

Changes

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