API referenceC L I
What a CLI login asks, for the approval page
AuthorizationBearer <token>
A management key, made in the console. It acts as an admin of its account.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/admin/cli/login" \ -H "Content-Type: application/json" \ -d '{ "id": "string", "proof": "string" }'{ "id": "string", "state": "pending", "label": "string", "user_code": "string", "created_at": "string", "expires_at": "string", "blocked_by": "string"}Refuse a CLI login
Refuse a CLI login (POST /v1/cli/login/deny) in the SyncPilled API. See its request, responses and error codes.
Approve a CLI login into the current account
Approve a CLI login into the current account (POST /v1/admin/cli/login/approve) in the SyncPilled API. Accepts a management key or a console sign-in.