Console

Approve (or deny) a CLI device authorization

Operator-session-authed; the session must have authenticated recently (magic-link OR passkey). Binds the user_code to an approve/deny decision. Does NOT mint a session — the mint happens at the token poll.

post/agent/v1/control-plane/cli/device/approve

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/agent/v1/control-plane/cli/device/approve
  • Auth: HTTP bearer

Request body

user_codestring required
decision'approve' | 'deny'

Response

{ ok, decision, client_name }

object required

Changes

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