airstrings_login
Log in to an AirStrings organization and store an org key without binding a directory. Approve the browser URL, then run again; use before initializing multiple projects sharing one login.
Instructions
Log in to an AirStrings organization and store an org key on this machine, without binding a directory. The first call returns status "pending" and verification_uri_complete: an organization owner approves that URL in the browser, then call login again to finish; if it is denied or expires, start over. Returns the organization once stored. Use it before airstrings_init when several directories will share one login; to set up a single repo, call airstrings_init directly (it logs in when needed).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | No | Organization ID (org_…) the approval must be for; the approval is rejected for any other org. Optional. | |
| base_url | No | API base URL. Defaults to https://api.airstrings.com; only set it for self-hosted or test servers. |