Skip to main content

tenants_tenants_partial_update

PATCH 

/api/v3//tenants/tenants/:tenant_uuid/

Tenant Viewset

Request

Path Parameters

    tenant_uuid uuidrequired

    A UUID string identifying this Tenant.

Body

    schema_namestring

    Possible values: non-empty and <= 63 characters

    namestring

    Possible values: non-empty

    readyboolean

Responses

Schema
    tenant_uuiduuidrequired
    schema_namestringrequired

    Possible values: <= 63 characters

    namestringrequired
    readyboolean
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Patch, "/api/v3/tenants/tenants/:tenant_uuid/");
request.Headers.Add("Accept", "application/json");
var content = new StringContent("{\n \"schema_name\": \"string\",\n \"name\": \"string\",\n \"ready\": true\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
/api/v3
Parameters
— pathrequired
Body
{
  "schema_name": "string",
  "name": "string",
  "ready": true
}