Identity
Approve CLI access to a project
Requires an explicit browser action, application/json, an allowed console Origin, and an owner/admin membership in the active project's organization. Approves the displayed scopes and a thirty-day credential. No API key is created until the waiting CLI exchanges the grant.
post/auth/cli/device/approve
Request
- Base URL: https://api.pyai.com
- URL: https://api.pyai.com/auth/cli/device/approve
- Auth: API key in cookie pyai_session
Headers
Originstring uri required
An allowed PyAI console origin.
Request body
Response
Approved.
Changes
No recorded changes to this operation across all 1 revision of this API.