Files
authentik/website/docs/developer-docs/api/reference/sources-oauth-destroy.api.mdx
2024-09-13 12:17:54 -05:00

276 lines
8.9 KiB
Plaintext

---
id: sources-oauth-destroy
title: "sources_oauth_destroy"
description: "Source Viewset"
sidebar_label: "sources_oauth_destroy"
hide_title: true
hide_table_of_contents: true
api: eJytVE1v2zAM/SuCThtgRFnbw5DTii0YArRF0a9LEQSyzcZqFEmV5GyB4f8+UrYbF2l72smSRZHvPT6x4daBl1FZsyj5jAdb+wLCyso6VqsSQvR2zzOOq8IrR3EYdZui2IOCPwEiHjvp5RYi+MBnjw1XFORkrPDI4AEl1vUad6GoYCv5rOFx79L/6JVZH1VYGExmpGYdIEZZMlYHKJky7P7mIkx4m3EPL7XygMijr6FdZjzKNWEYiHD8FaCovYr7BI14gYlqg7slXfAQnDUBQxHUyfSMPm+xXFk2BLHclnsqfDadUmBhEaeJtJTOaVUkJcVzoIvNMVubP0MRj9g+SK3KdJXNvbeeFPXUmKg6XMaa1ZMCXa6AzsMopfReUodUhG04FrZFsIUt4f0TWZaKykp9Pa6HJ1FFDW+gdchauvYWfafH6X/U4zcY8Kpg59eLDwQpIUql3yH1GduDWx6HBMsD077oJzTxF5q8svRQStDo92R9tPmMi95wIr0c0ZDfW0GOB78b3kXtNYVKp8TuVPB2ZM5bkqbjNrLoK4sqRjc8H9rnID34BEmZJ5siex6H6xmnyh36k+nJ2eT75NuR1pdyg/qw4VbXMRbU1mmY8Cy1VBappdg70pxXoLX9sbavlSbKkvLYb8BHkgzbvfrLxR2m6GgThTATYq1iVeeTwm7FKIU4rHJtc4GljLhY/Jxf3c4TTWdD3EozSt4rzlIS9sGsGnnyeGz14kb4G4XTWJFYJLRN39fDIMl4qoPfWT/LyDwVoqKopsllgHuv25Z+v9Tgad7gcie9kjl1Bg1QqkBrNNCT1AE+wfrlpjfrV/YR0GEAGCK9k7qmHS43sB8GbrvEuApkiV6h+t3ReVGAi6NLR2+VnPlq9V/zi/ndHMMT/4Mnew9mw4IKvIsJxUkRd3YDBgUaIEbaE8a2/QfZYj7N
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 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={"sources_oauth_destroy"}
>
</Heading>
<MethodEndpoint
method={"delete"}
path={"/sources/oauth/{slug}/"}
>
</MethodEndpoint>
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>