Cyan Web API - Version 1


GET api/tenants

            Gets all Tenants
            

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "tenantId": "1c25ad2e-ae72-4d9e-a987-f8b3d084931b",
    "parentTenantId": "e7fd32d4-8a21-4e6a-9654-88b36da6a997",
    "lookupKey": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "accessKey": "sample string 5",
    "enrollmentId": "sample string 6",
    "enrollmentPassword": "sample string 7",
    "recoveryUrl": "sample string 8",
    "createdDateUtc": "2026-09-21T17:07:31.357978+00:00",
    "updatedDateUtc": "2026-09-21T17:07:31.357978+00:00"
  },
  {
    "tenantId": "1c25ad2e-ae72-4d9e-a987-f8b3d084931b",
    "parentTenantId": "e7fd32d4-8a21-4e6a-9654-88b36da6a997",
    "lookupKey": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "accessKey": "sample string 5",
    "enrollmentId": "sample string 6",
    "enrollmentPassword": "sample string 7",
    "recoveryUrl": "sample string 8",
    "createdDateUtc": "2026-09-21T17:07:31.357978+00:00",
    "updatedDateUtc": "2026-09-21T17:07:31.357978+00:00"
  },
  {
    "tenantId": "1c25ad2e-ae72-4d9e-a987-f8b3d084931b",
    "parentTenantId": "e7fd32d4-8a21-4e6a-9654-88b36da6a997",
    "lookupKey": "sample string 2",
    "name": "sample string 3",
    "description": "sample string 4",
    "accessKey": "sample string 5",
    "enrollmentId": "sample string 6",
    "enrollmentPassword": "sample string 7",
    "recoveryUrl": "sample string 8",
    "createdDateUtc": "2026-09-21T17:07:31.357978+00:00",
    "updatedDateUtc": "2026-09-21T17:07:31.357978+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTenantRepresentation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlueDot.Cyan.Server.Core.Models.Rest.Version1">
  <TenantRepresentation>
    <CreatedDateUtc>2026-09-21T17:07:31.357978+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-09-21T17:07:31.357978+00:00</UpdatedDateUtc>
    <AccessKey>sample string 5</AccessKey>
    <Description>sample string 4</Description>
    <EnrollmentId>sample string 6</EnrollmentId>
    <EnrollmentPassword>sample string 7</EnrollmentPassword>
    <LookupKey>sample string 2</LookupKey>
    <Name>sample string 3</Name>
    <ParentTenantId>e7fd32d4-8a21-4e6a-9654-88b36da6a997</ParentTenantId>
    <RecoveryUrl>sample string 8</RecoveryUrl>
    <TenantId>1c25ad2e-ae72-4d9e-a987-f8b3d084931b</TenantId>
  </TenantRepresentation>
  <TenantRepresentation>
    <CreatedDateUtc>2026-09-21T17:07:31.357978+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-09-21T17:07:31.357978+00:00</UpdatedDateUtc>
    <AccessKey>sample string 5</AccessKey>
    <Description>sample string 4</Description>
    <EnrollmentId>sample string 6</EnrollmentId>
    <EnrollmentPassword>sample string 7</EnrollmentPassword>
    <LookupKey>sample string 2</LookupKey>
    <Name>sample string 3</Name>
    <ParentTenantId>e7fd32d4-8a21-4e6a-9654-88b36da6a997</ParentTenantId>
    <RecoveryUrl>sample string 8</RecoveryUrl>
    <TenantId>1c25ad2e-ae72-4d9e-a987-f8b3d084931b</TenantId>
  </TenantRepresentation>
  <TenantRepresentation>
    <CreatedDateUtc>2026-09-21T17:07:31.357978+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2026-09-21T17:07:31.357978+00:00</UpdatedDateUtc>
    <AccessKey>sample string 5</AccessKey>
    <Description>sample string 4</Description>
    <EnrollmentId>sample string 6</EnrollmentId>
    <EnrollmentPassword>sample string 7</EnrollmentPassword>
    <LookupKey>sample string 2</LookupKey>
    <Name>sample string 3</Name>
    <ParentTenantId>e7fd32d4-8a21-4e6a-9654-88b36da6a997</ParentTenantId>
    <RecoveryUrl>sample string 8</RecoveryUrl>
    <TenantId>1c25ad2e-ae72-4d9e-a987-f8b3d084931b</TenantId>
  </TenantRepresentation>
</ArrayOfTenantRepresentation>