API referenceC L I
Refuse a CLI login
Needs nobody signed in: someone sent a link they did not ask for can always refuse it.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/cli/login/deny" \ -H "Content-Type: application/json" \ -d '{ "id": "string", "proof": "string" }'{ "state": "denied"}Where a CLI login stands, and its key once approved
Where a CLI login stands, and its key once approved (POST /v1/cli/login/poll) in the SyncPilled API.
What a CLI login asks, for the approval page
What a CLI login asks, for the approval page (POST /v1/admin/cli/login) in the SyncPilled API. Accepts a management key or a console sign-in.