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.
- application/json
Body
schema_namestring
Possible values: non-empty
and <= 63 characters
namestring
Possible values: non-empty
readyboolean
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (auto)
Schema
tenant_uuiduuidrequired
schema_namestringrequired
Possible values: <= 63 characters
namestringrequired
readyboolean
{
"tenant_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"schema_name": "string",
"name": "string",
"ready": true
}
- application/json
- Schema
- Example (auto)
Schema
non_field_errorsstring[]
codestring
property name*any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
detailstringrequired
codestring
{
"detail": "string",
"code": "string"
}
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
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());