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

275 lines
8.9 KiB
Plaintext

---
id: rbac-roles-destroy
title: "rbac_roles_destroy"
description: "Role viewset"
sidebar_label: "rbac_roles_destroy"
hide_title: true
hide_table_of_contents: true
api: eJytVE1v2zAM/SuGThsQxEHaw5DTijUYArRF0Y9diiCQLSZWo0iqJGcLDP/3kbKduE0a7LCTJZMiHx8fWTFjwfEgjZ4JNmEu4/nCGQV+IcAHZ3ZswPCUO2nJCV0e0JpsJfz2ENBoueMbCOA8m7xUTJKL5aFAk0YD3spSCrz5vIANZ5OKhZ2l/xhe6hValsZteOg8648Jr5Ln59l10rgnUoAOcrmjcyikTwjPEKM4eCulA6wiuBLq+YAFviJQsSiGdw956WTYRaC8DAVFWuNtTt4OvDXagyeI49Elfd4DuTNJ55RkRuwI6uVoRI650QGj0ZFbq2QeKU1fPT2sjms32Svk4YjbX1xJEZ8mU+eMI34ddSjIBpc2erGUoMQCyO57IblznLolA2z8Mc01gs2NgNMWLoSktFzd9/OhJcig4B20BlldHzWq4ePiP/LxEzQ4mSdX97NPCBEQuFQnijpX7UEqL12A+aHSNumZMvEXSr4wNDECFKo/DgKKfsJSUlsaRyitSNB1SuIHt+1GpHSK/LiV6fYiZXVPmY/ES1NYT5/7EooQbDdJdM+AO3ARj9RLEz3bIg7PB4wyN9DHo/Hl8NtwfET0LV/TQHWvmnYlXm5sM1zUT57HfmLjiHBWgFLm+8rsMw2lIdqx2YATEtXaLIDb2ROGaMqmEvwkTVcyFGU2zM0m7YVID6dMmSzFVDq9mf2Y3j1OY5nW+LDhuhec6E4i3cknG6unxo/Lq+U1wJ+QWoXJqIAItGr72W4P1AylwO+kXWekmALRkEtVZdzDs1N1Tb/fSnC0ZPC45U7yjDqCjRfS0xlVs+TKwxmYXx5ahX5N/nH7nayk2wyaONlyVdINj2vY7bftHP0K4AJ1RBgb01Wegw29R0dDTKrdz8D19Gb6NEV3al9Pr60+B92BEpzEhARGjyezBo0kdhAD3QljXf8FKqZIjQ==
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={"rbac_roles_destroy"}
>
</Heading>
<MethodEndpoint
method={"delete"}
path={"/rbac/roles/{uuid}/"}
>
</MethodEndpoint>
Role 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":"uuid","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Role.","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>