Skip to main content

tenants_domains_list

GET 

/api/v3//tenants/domains/

Domain ViewSet

Request

Query Parameters

    ordering string

    Which field to use when ordering the results.

    page integer

    A page number within the paginated result set.

    page_size integer

    Number of results to return per page.

    search string

    A search term.

Responses

Schema
    pagination objectrequired
    nextnumberrequired
    previousnumberrequired
    countnumberrequired
    currentnumberrequired
    total_pagesnumberrequired
    start_indexnumberrequired
    end_indexnumberrequired
    results object[]required
  • Array [
  • idintegerrequired
    domainstringrequired

    Possible values: <= 253 characters

    is_primaryboolean
    tenantuuidrequired
  • ]
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/api/v3/tenants/domains/");
request.Headers.Add("Accept", "application/json");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
/api/v3
Parameters
— query
— query
— query
— query