A downloaded program asking to be connected to an account
POST
/api/v1/account/devices/link - Přihlášení
- Bez scope
- Scope
- Žádný
- Nástroj MCP
identity.linkDevice
Parametry
Žádné.
Tělo požadavku
| Pole | Typ a význam |
|---|---|
app povinné | string What is asking |
device | string The machine it runs on |
team | boolean Ask for team access (STYGION Admin). Only a team account can approve it. |
Odpověď 200
| Pole | Typ a význam |
|---|---|
code vždy | string |
expiresAt vždy | string |
phrase | string |
secret vždy | string |
url vždy | string |
Chyby
| Stav | Typ a význam |
|---|---|
400 | The request was not understood. |
401 | Sign in and try again. |
404 | There is nothing here, or nothing you may see. |
429 | Too many requests. |
500 | Something on our side went wrong. |
Každá chyba přijde jako { code, message, requestId }. Chyby