Authentication

Returns all tenants of a user

A Klara user might have multiple tenants. Use this endpoint to get the list of tenants containing tenant id, company id.<br /> The tenant and company id returned by this endpoint can be used to generate tokens to access other endpoints. Use your KLARA username and password <strong> OR </strong> access-token to get the list of tenants. <br />

post/core/latest/tenants

Request

  • Base URL: https://api.klara.ch
  • URL: https://api.klara.ch/core/latest/tenants
  • Auth: none declared

Response

Found tenants

tenant_idstring
company_idinteger
company_namestring

Example response

[
  {
    "tenant_id": "aaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
    "company_id": 1,
    "company_name": "ABC Company"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.