Approves a pending device code, authorizing the CLI session.
curl --request POST \
--url https://api.strait.dev/v1/cli/device-codes/approve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"device_code": "<string>",
"project_id": "<string>"
}
'{}Documentation Index
Fetch the complete documentation index at: https://docs.strait.dev/llms.txt
Use this file to discover all available pages before exploring further.
curl --request POST \
--url https://api.strait.dev/v1/cli/device-codes/approve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"device_code": "<string>",
"project_id": "<string>"
}
'{}