VarisDocs
Dashboard

List the owners you belong to

GET/v1/me/owners

The 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>required

A 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/json

Every owner you belong to, sorted by name.

ownersobject[]required
idstringrequired

Send this as X-Varis-Owner-Identifier, and store it in varis.json as owner_id.

namestringrequired
roleenum<string>required

Your role in this owner.

Available options: admin, member

request_idstringrequired
curl -X GET 'https://api.usevaris.com/v1/me/owners'
{  "owners": [    {      "id": "string",      "name": "string",      "role": "admin"    }  ],  "request_id": "string"}