LynceaAPI

List my tenants

Returns the tenants the authenticated user can switch to, including the role held in each tenant.

GET
/api/v1/auth/me/tenants
AuthorizationBearer <token>

In: header

Response Body

application/json

curl -X GET "https://api.monitoring.crahe-arthur.com/api/v1/auth/me/tenants"
{
  "tenants": [
    {
      "tenantId": "018f7b9a-6f8d-4c1d-8d72-1bbecdadc101",
      "slug": "acme-monitoring",
      "name": "Acme Monitoring",
      "orgRole": "admin"
    }
  ]
}