Skip to Content
Omnibase

List tenants the authenticated user belongs to

GET
/api/v1/auth/tenants

Authorization

headerX-Session-Token<token>

Kratos session JWT token. Alternative to cookie authentication for non-browser clients.

Response Body

OK

application/json
  1. response
tenants*array<>|null
Example Request
curl -X GET 'https://api.omnibase.tech/api/v1/auth/tenants'
Example Response
{  "tenants": [    {      "is_active": true,      "tenant": {        "created_at": "2019-08-24T14:15:22Z",        "enterprise_id": "string",        "enterprise_template": "string",        "id": "string",        "name": "string",        "stripe_customer_id": "string",        "type": "string",        "updated_at": "2019-08-24T14:15:22Z"      }    }  ]}