Approve or deny a pending client grant
Called by the dashboard authorize page on behalf of the authenticated
user. Resolves a pending grant identified by user_code. Idempotent
against the same user_code only while the grant is still pending.
Documentation Index
Fetch the complete documentation index at: https://docs.dynamic.xyz/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Request body for POST /auth/grant/approve.
The user_code displayed in the client's terminal/UI.
Outcome of an /auth/grant/approve call. approve mints a fresh client
JWT and stores it against the grant for the polling client to collect;
deny records an access_denied terminal status.
approve, deny Response
Grant resolved.
Response from POST /auth/grant/approve.
Outcome of an /auth/grant/approve call. approve mints a fresh client
JWT and stores it against the grant for the polling client to collect;
deny records an access_denied terminal status.
approve, deny