Nápověda

List tenants the caller can send as Olify-Tenant-Id.

List tenants the caller can send as Olify-Tenant-Id.

GET
/directory/directory-users/available-tenants

Authorization

bearerAuth
AuthorizationBearer <token>

Access token from POST /directory/connect/token. Scope olifyapi.

In: header

Query Parameters

$filter?string
$orderby?string
$select?string
$expand?string
$count?boolean
$top?integer

Page size. Host OData:MaxTop is 10000.

Range0 <= value <= 10000
$skip?integer
Range0 <= value

Response Body

Tenant

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/directory/directory-users/available-tenants"
{  "value": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "isActive": true,      "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9",      "name": "string",      "urlSlug": "string",      "productId": "string"    }  ],  "count": 0}