Files
authentik/website/docs/developer-docs/api/reference/sources-ldap-destroy.api.mdx
Tana M Berry 7a6d44d0df first pass
2024-10-22 15:10:13 -05:00

275 lines
8.9 KiB
Plaintext

---
id: sources-ldap-destroy
title: "sources_ldap_destroy"
description: "LDAP Source Viewset"
sidebar_label: "sources_ldap_destroy"
hide_title: true
hide_table_of_contents: true
api: eJytVE1r4zAQ/StCp10wUUh7WHLasg1LIC2lX5cSgmxPYzWKpEpydoPxf98ZfyQuaXrakyVrNPPem6epuHXgZVTWzHM+5cGWPoOw0rl0qxxC9HbPE46rzCtHYRi0uL66Yw9NJHtW8CdAxBgnvdxCBB/49KXiiiKdjAUeGTyg5Lpc4y5kBWwln1Y87l3zP3pl1idl5gaTGalZC4pRloSVAXKmDHu6X4QRrxPu4b1UHhB99CXUy4RHuSYMPRmOvwJkpVdx30CTZSzARLXB3ZIueAjOmoChCGoyvqTPRyy3lvVBLLX5ngpfjscUmFnEaSItpXNaZY2a4i3QxeqUrU3fIIsnbJ+lVnlzlc28t54U9dScqFpcxprVqwKdr4DOwyCl9F5Sm1SEbTgVtkawmc3h8xOZ54rKSn03rIcnUUUNH6C1yGq69hF9q8fFf9TjNxjwKmNXd/MzguQQpdKfkPqK7dEtL32C5ZFpV/QLmvgLTV5Yeiw5aPR7Y320+ZSLznCCXo+oyO61IMOD3/XPovSaIqVTYncheD3w5gMp01IbOPRAoojR9a+H9ilID75BpMyrbSI7GsfrCafKLfjJeHI5+jGanEh9IzcoD+tvtQ1jQW2dhhFPmo7KrOkoto4k5wVobX+u7aHSSFkSHtsN+EYav7aP/mb+iCla2kQhTIVYq1iU6SizWzFIIY6rVNtUYCkjFvNfs9uHWUPT2RC30gySd4IzEpydGVcDR56ZXJ3AEf5G4TRWJSYN4qpr7XGWIEWshZ9pN83IPgUCo6CqSmWAJ6/rmn6/l+Bp4uByJ72SKTUHPZCrQGu00KvUAb7A++2+s+t3dg5nPwIMEd9JXdIOlxvY9yO3XmJcATJHu1D99ugqy8DFwaWT10rmPJj9eraYPc4wnLo0sGVnw6RfUIFPMaE4TcSj3YBBgXqIkfaEsa7/Abp4P1A=
sidebar_class_name: "delete 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 Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"sources_ldap_destroy"}
>
</Heading>
<MethodEndpoint
method={"delete"}
path={"/sources/ldap/{slug}/"}
>
</MethodEndpoint>
LDAP Source 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":"slug","schema":{"type":"string","description":"Internal source name, used in URLs."},"required":true}}
>
</ParamsItem>
</ul>
</div>
</details><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"204"}
value={"204"}
>
<div>
No response body
</div><div>
</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>