Import account
POST/api/accounts/import
Creates an agent account from an exported file under a new slug with auto-assign off, checking a key-based account's key with the provider before storing it. A wrong passphrase or an edited file returns 422 and creates nothing. A subscription account is created with needs_login true until it logs in on a node; every import returns 201.
Request
Responses
- 201
- 422
Created
Unprocessable content