List the owners you belong to
GET
/v1/me/ownersThe owners the signed-in developer is a member of, with their role in each. varis init shows these as a picker and writes the chosen id into varis.json as owner_id.
Needs only the device token. X-Varis-Owner-Identifier is ignored, because choosing an owner is what this list is for.
Headers
AuthorizationBearer <token>requiredA device token, prefixed var_dt_, issued by varis login to one machine and stored there. Identifies the human; carries no permissions of its own. Expires 180 days after its last use, and can be revoked from the dashboard.
Response
application/jsonEvery owner you belong to, sorted by name.
ownersobject[]requiredidstringrequiredSend this as X-Varis-Owner-Identifier, and store it in varis.json as owner_id.
namestringrequiredroleenum<string>requiredYour role in this owner.
Available options: admin, member
request_idstringrequiredcurl -X GET 'https://api.usevaris.com/v1/me/owners'{ "owners": [ { "id": "string", "name": "string", "role": "admin" } ], "request_id": "string"}