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

276 lines
8.8 KiB
Plaintext

---
id: core-tokens-destroy
title: "core_tokens_destroy"
description: "Token Viewset"
sidebar_label: "core_tokens_destroy"
hide_title: true
hide_table_of_contents: true
api: eJytVMFu2zAM/RVDpw0IoqztYchpxRYMAdqiWLteiiCQZTZWo0iqJGcLDP/7SNluHCTpaSdTJkU+Pj6xZtaBF1FZMy/YlEnrYRntGkxYFhCitzs2YmhJrxxFYcwjubMnBX8CRPQ64cUGIvjAps81UxTjRCzRZdCBJ1WAiepFgcd/QZawEWxas7hz5MUqyqxYM2Ie3irlAYFEX0GzGLEoVpQ14WJ4DiArr+IuVRJVLCnxGk8LivYQnDUBAmW/mFzR5xD7nc36oCy3xY6qXk0mFCitiZiNTOGcVjKxwl8DXayPYdv8FWQ8YudJaFWkq9nMe0sdO08kR9XiMtYskQpdLIH8YZBSeC+IbxVhE04whGClLeC0RxSForJC3w/roSeqqOEAWousoWuH6Fs+Lv8jHz/BgFcyu76fnyGkgCiUPimI893upfLcJ1jsO+2KftAm/kLNlpZEX4BG+SYlo2qnjJPaePsKeL0Xb8NJvuC3vdQrrylcOMW3l5w1A4E+ED1tfwOZvndSxuj6t0DnHIQHn2Ap82JTZNfL/vqIUeW2g4vJxdX46/jLEd+3Yo0cZf2tdmpZUBunYcxGaaxCprHi/Ih3VoLW9tvKvlcaK0vs48yRgTSA7iHfzh8xRds2tRCmnK9ULKt8LO2GD1LwvZVrm3MsZfjN/Pvs7mGW2nQ2xI0wg+TEetaynp3ZPQNVHq2hjtkIfyN3GstRCwlq3Q22WyMYmoqgMT3YTKSgEmFRZF3nIsBvr5uGfr9V4GnpoLkVXomcRoMKKFQgG1X0InSAD+B++tUp9nN2Dmy/BQz1vRW6ohOaa9gdLtFmgdEliAJtQtEGXEsJLg6uHj1bEui76n/MbmaPMwynSQ2k2Ulx1BtU4CQypChFpEEgTT3QxC5hbJp//zcwqQ==
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={"core_tokens_destroy"}
>
</Heading>
<MethodEndpoint
method={"delete"}
path={"/core/tokens/{identifier}/"}
>
</MethodEndpoint>
Token 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":"identifier","schema":{"type":"string"},"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>