Cyan Web API - Version 1


GET api/tenants

            Gets all Tenants
            

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "tenantId": "9e0d4c56-7c4c-4338-8816-da37acc48875",
    "parentTenantId": "11b40c5e-43c3-4d4e-a523-20894cdd65a2",
    "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": "2025-07-05T15:42:07.2205522+00:00",
    "updatedDateUtc": "2025-07-05T15:42:07.2205522+00:00"
  },
  {
    "tenantId": "9e0d4c56-7c4c-4338-8816-da37acc48875",
    "parentTenantId": "11b40c5e-43c3-4d4e-a523-20894cdd65a2",
    "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": "2025-07-05T15:42:07.2205522+00:00",
    "updatedDateUtc": "2025-07-05T15:42:07.2205522+00:00"
  },
  {
    "tenantId": "9e0d4c56-7c4c-4338-8816-da37acc48875",
    "parentTenantId": "11b40c5e-43c3-4d4e-a523-20894cdd65a2",
    "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": "2025-07-05T15:42:07.2205522+00:00",
    "updatedDateUtc": "2025-07-05T15:42:07.2205522+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>2025-07-05T15:42:07.2205522+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-07-05T15:42:07.2205522+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>11b40c5e-43c3-4d4e-a523-20894cdd65a2</ParentTenantId>
    <RecoveryUrl>sample string 8</RecoveryUrl>
    <TenantId>9e0d4c56-7c4c-4338-8816-da37acc48875</TenantId>
  </TenantRepresentation>
  <TenantRepresentation>
    <CreatedDateUtc>2025-07-05T15:42:07.2205522+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-07-05T15:42:07.2205522+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>11b40c5e-43c3-4d4e-a523-20894cdd65a2</ParentTenantId>
    <RecoveryUrl>sample string 8</RecoveryUrl>
    <TenantId>9e0d4c56-7c4c-4338-8816-da37acc48875</TenantId>
  </TenantRepresentation>
  <TenantRepresentation>
    <CreatedDateUtc>2025-07-05T15:42:07.2205522+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-07-05T15:42:07.2205522+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>11b40c5e-43c3-4d4e-a523-20894cdd65a2</ParentTenantId>
    <RecoveryUrl>sample string 8</RecoveryUrl>
    <TenantId>9e0d4c56-7c4c-4338-8816-da37acc48875</TenantId>
  </TenantRepresentation>
</ArrayOfTenantRepresentation>