Cyan Web API - Version 1


GET api/tenants

            Gets all Tenants
            

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "tenantId": "b44c1ebb-942b-4f25-af73-46d951d3d020",
    "parentTenantId": "a75d1f8d-630f-4d5e-94de-93768b13344d",
    "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-04-16T04:30:56.4973147+00:00",
    "updatedDateUtc": "2025-04-16T04:30:56.4973147+00:00"
  },
  {
    "tenantId": "b44c1ebb-942b-4f25-af73-46d951d3d020",
    "parentTenantId": "a75d1f8d-630f-4d5e-94de-93768b13344d",
    "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-04-16T04:30:56.4973147+00:00",
    "updatedDateUtc": "2025-04-16T04:30:56.4973147+00:00"
  },
  {
    "tenantId": "b44c1ebb-942b-4f25-af73-46d951d3d020",
    "parentTenantId": "a75d1f8d-630f-4d5e-94de-93768b13344d",
    "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-04-16T04:30:56.4973147+00:00",
    "updatedDateUtc": "2025-04-16T04:30:56.4973147+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-04-16T04:30:56.4973147+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-04-16T04:30:56.4973147+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>a75d1f8d-630f-4d5e-94de-93768b13344d</ParentTenantId>
    <RecoveryUrl>sample string 8</RecoveryUrl>
    <TenantId>b44c1ebb-942b-4f25-af73-46d951d3d020</TenantId>
  </TenantRepresentation>
  <TenantRepresentation>
    <CreatedDateUtc>2025-04-16T04:30:56.4973147+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-04-16T04:30:56.4973147+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>a75d1f8d-630f-4d5e-94de-93768b13344d</ParentTenantId>
    <RecoveryUrl>sample string 8</RecoveryUrl>
    <TenantId>b44c1ebb-942b-4f25-af73-46d951d3d020</TenantId>
  </TenantRepresentation>
  <TenantRepresentation>
    <CreatedDateUtc>2025-04-16T04:30:56.4973147+00:00</CreatedDateUtc>
    <UpdatedDateUtc>2025-04-16T04:30:56.4973147+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>a75d1f8d-630f-4d5e-94de-93768b13344d</ParentTenantId>
    <RecoveryUrl>sample string 8</RecoveryUrl>
    <TenantId>b44c1ebb-942b-4f25-af73-46d951d3d020</TenantId>
  </TenantRepresentation>
</ArrayOfTenantRepresentation>