Skip to content

Approve a CLI sign-in request

POST
/api/v1/auth/cli/approve
curl --request POST \
--url https://example.com/api/v1/auth/cli/approve \
--header 'Authorization: Bearer <token>'

Approves a CLI sign-in request. It requires a signed-in User with the account scope. It can return 401 if the session is missing or expired, 403 if access is denied and 429 if the request limit is reached. Route: /api/v1/auth/cli/approve. Inputs: . Do not automatically replay this operation after an uncertain result.

Media typetext/html
Media typeapplication/json
object
code
required
string
message
required
string
Examplegenerated
{
"code": "example",
"message": "example"
}