Files
authentik/website/docs/developer-docs/api/reference/tenants-tenants-partial-update.api.mdx
2024-09-13 12:17:54 -05:00

423 lines
14 KiB
Plaintext

---
id: tenants-tenants-partial-update
title: "tenants_tenants_partial_update"
description: "Tenant Viewset"
sidebar_label: "tenants_tenants_partial_update"
hide_title: true
hide_table_of_contents: true
api: eJy9Vk1v2zgQ/SsCTy3gWmlSFIVPm80Guwb6EeTrEhjGWBpbbChSS1JpvIL++86QUqTETtJDUR8sihzOvHnzOFQjTIUWvDR6nouZ8KhBe7fsnxVYL0Et6yoHj2IicnSZlRVvIPPLYJZcS/zh0NMy2UOJHq0Ts5tGSDaqwBe0pGnhIcKyrmVOky4rsAQxa4TfVrzsvJV6QytrY0vwNBMs26eRj5Orq/lfSTRPZI7ay/WWx76QLonApuTH4r+1tEjJeVtju5gIDxtG1+cqFtEInf/T5FvGkhlNi56HUFVKZoGg9Lvj0M0uaLP6jpl/jp0LtESh/A8tE2SZcC/RDZ6WkZpdDkqpP6PeEH2z9/QG9/3bx6O2J/TlXS3nBjGrzm5ljELQoqU1L73iuTPwhCSPgM8jGWTQhu2uMtpFvIcHB7+Vn7FYXtVITPWbVtuu1pNX+f0pRl/hcBDYTXTwOOzkURKLgfOYvQgkP+aFI374pUxfE7952JqcWmt2idZGL9cSVb5EXncjl2AtbGmD9Fi6PewQ2Mzk+3ijFchzyWFBnY3jjaQ3QIvInuXj6Bfy8TdqEl2WHJ/NnyEkRw9S7RXD89mOpdA5GBW8C/pCmjRFzbMweeyaWRE6KstTpF23eng2I1m1KYsO7V3fd2ureA9UMr07SgV3PYdZbaXfXjBFMUeofcF983aUTeF91Ss4KB3Bog3QmOTzoVGe3kNZKdxpY8PxevrenaLubEq9NiFwR8+AZiI4kUjK4cHhh+mn6fudEn6BW+72/a4ohMRJxsR9n5UCWVAKYeNSigKVMn9szEOkqTRcUJIRUocL5yBC/jK/JBeRRWbEzdJ0I31Rr6aZKdORi3QYrZRZpRRKp5/nJ6dfL04Da5VxvgQ9ct5VMOmf3R2b7L9jR5rfvW67onm892mlKDSnE2A3nXCGa24yGs0e38Ks0oJwsnnTrMDhlVVty9NUbks1u6HhHVCfXnGtSGG5dDwmpa5BOXwB9Jvz7lS8TX760t6bV9+PNHejO1A1v9HwFrdPvivaBZkXpDZSLoONFicR0rtL9jN42Okj7aTfcZxlWPkXbRejI3t2fHnyD1mvus+IMjQKYeEHi5/+A1wTOAoHMMw1QoHe1LBh2+iUf/8DOL9Spg==
sidebar_class_name: "patch api-method"
info_path: docs/developer-docs/api/reference/authentik
custom_edit_url: null
hide_send_button: true
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"tenants_tenants_partial_update"}
>
</Heading>
<MethodEndpoint
method={"patch"}
path={"/tenants/tenants/{tenant_uuid}/"}
>
</MethodEndpoint>
Tenant Viewset
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>
<details
style={{"marginBottom":"1rem"}}
className={"openapi-markdown__details"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
>
<h3
className={"openapi-markdown__details-summary-header-params"}
>
Path Parameters
</h3>
</summary><div>
<ul>
<ParamsItem
className={"paramsItem"}
param={{"in":"path","name":"tenant_uuid","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Tenant.","required":true}}
>
</ParamsItem>
</ul>
</div>
</details><MimeTabs
className={"openapi-tabs__mime"}
>
<TabItem
label={"application/json"}
value={"application/json-schema"}
>
<details
style={{}}
className={"openapi-markdown__details mime"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-mime"}
>
<h3
className={"openapi-markdown__details-summary-header-body"}
>
Body
</h3>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"schema_name"}
required={false}
schemaName={"string"}
qualifierMessage={"**Possible values:** `non-empty` and `<= 63 characters`"}
schema={{"type":"string","minLength":1,"maxLength":63}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"name"}
required={false}
schemaName={"string"}
qualifierMessage={"**Possible values:** `non-empty`"}
schema={{"type":"string","minLength":1}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"ready"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean"}}
>
</SchemaItem>
</ul>
</details>
</TabItem>
</MimeTabs><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"200"}
value={"200"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"tenant_uuid"}
required={true}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"schema_name"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `<= 63 characters`"}
schema={{"type":"string","maxLength":63}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"ready"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"tenant_uuid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"schema_name\": \"string\",\n \"name\": \"string\",\n \"ready\": true\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"400"}
value={"400"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"non_field_errors"}
required={false}
schemaName={"string[]"}
qualifierMessage={undefined}
schema={{"type":"array","items":{"type":"string"}}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
name={"property name*"}
required={false}
schemaName={"any"}
qualifierMessage={undefined}
schema={{"type":"object","description":"Validation Error","properties":{"non_field_errors":{"type":"array","items":{"type":"string"}},"code":{"type":"string"}},"additionalProperties":{},"title":"ValidationError"}}
collapsible={false}
discriminator={false}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"non_field_errors\": [\n \"string\"\n ],\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"403"}
value={"403"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"detail"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"detail\": \"string\",\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem>
</ApiTabs>
</div>
</div>