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

276 lines
9.0 KiB
Plaintext

---
id: oauth-2-authorization-codes-destroy
title: "oauth2_authorization_codes_destroy"
description: "AuthorizationCode Viewset"
sidebar_label: "oauth2_authorization_codes_destroy"
hide_title: true
hide_table_of_contents: true
api: eJytVN9v2jAQ/lcsP20SIoz2YeJpVYcmpLaq1q4vE0JOfBAXY6e2w8ai/O+7cxIIgvKyPRBs39n3fd/9qLgtwImgrJlJPuFWlCEfL+hrnfoTDYvMSvAL/AVnd3zAcZU5VZANr9z0fW/Rlb0o+OUhoGchnNhAAOf55GfFFfkXIuRoMmjAnZK49lkOG8EnFQ+7Ip6aACtwvD4Jxkqj3kpgrQfbCk07CSao5U6ZFQu58uwIFCNUQ4zj4K1UDpBocCXU8wEPYkXQWt4cTzxkpVNhFwHTKb28xt2c/B34whoPnsCOR9f0d4zwwbLOiaVW7ojD9WhEjplF0CbQUhSFVllEl7x6ulidqmDTV8jCieAvQivZEJs6Zx3p7CiNQTW4DOZsqUDLBZDd954UzglKoQqw6Z9jalE7XiNYyvZ5i5BSUVihH/vx0BJU0HAErUFW1ycZbPS4+o96fAMDTmXs5nH2jiASglD6DKlLbA/F8rN7YH5g2ga9QBOPsPRzS20lQWMXxIbA4p/wpKm35EyfJZWSdUJNAW7bNU7pNN0ShUq2Vwmve3X6RCo1NHvVuieUh1B0HUb7FISjxkJ0yixt9GwpHa4POEVuiIxH4+vh5+GnE9nvxZrarbvVJI95tSl0bDbKrshidjGNJD/PQWv7ZWX3kYbKUhIw9YD9Emu3GQv3s2d8oqFNFPwkSVYq5GU6zOwm6T2RHFaptmmCoUxyN7udPjxNI83C+rARpvd4Iz47Ep9F8dk7Q65XqxfnXSt6gN8hKTQiIXaRRdWmfj9qBvxM8vF0EicilVqOwOlCVaXCww+n65qOcfo5mk643AqnRErJwxqRytMay20ptIcLDD58b0v7I/u3eXqWbjdpDKkYn6N2GPA17Jp5X8/RKwchsQ4JeGO4yTIoQu/KyUigqt931Nfp3fR52qrYq/e2vgfdggKcRYSqRo9nuwaDynYAA+0JY13/BXdUeCk=
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={"oauth2_authorization_codes_destroy"}
>
</Heading>
<MethodEndpoint
method={"delete"}
path={"/oauth2/authorization_codes/{id}/"}
>
</MethodEndpoint>
AuthorizationCode 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":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this Authorization Code.","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>