Files
authentik/website/docs/developer-docs/api/reference/oauth-2-access-tokens-retrieve.api.mdx
2024-09-13 12:17:54 -05:00

1003 lines
50 KiB
Plaintext

---
id: oauth-2-access-tokens-retrieve
title: "oauth2_access_tokens_retrieve"
description: "AccessToken Viewset"
sidebar_label: "oauth2_access_tokens_retrieve"
hide_title: true
hide_table_of_contents: true
api: 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
sidebar_class_name: "get 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_access_tokens_retrieve"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/oauth2/access_tokens/{id}/"}
>
</MethodEndpoint>
AccessToken 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 OAuth2 Access Token.","required":true}}
>
</ParamsItem>
</ul>
</div>
</details><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"200"}
value={"200"}
>
<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={"pk"}
required={true}
schemaName={"ID (integer)"}
qualifierMessage={undefined}
schema={{"type":"integer","readOnly":true,"title":"ID"}}
>
</SchemaItem><SchemaItem
collapsible={true}
className={"schemaItem"}
>
<details
style={{}}
className={"openapi-markdown__details"}
>
<summary
style={{}}
>
<span
className={"openapi-schema__container"}
>
<strong
className={"openapi-schema__property"}
>
provider
</strong><span
className={"openapi-schema__name"}
>
object
</span><span
className={"openapi-schema__divider"}
>
</span><span
className={"openapi-schema__required"}
>
required
</span>
</span>
</summary><div
style={{"marginLeft":"1rem"}}
>
<div
style={{"marginTop":".5rem","marginBottom":".5rem"}}
>
OAuth2Provider Serializer
</div><SchemaItem
collapsible={false}
name={"pk"}
required={true}
schemaName={"ID (integer)"}
qualifierMessage={undefined}
schema={{"type":"integer","readOnly":true,"title":"ID"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"authentication_flow"}
required={false}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","nullable":true,"description":"Flow used for authentication when the associated application is accessed by an un-authenticated user."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"authorization_flow"}
required={true}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","description":"Flow used when authorizing this provider."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"property_mappings"}
required={false}
schemaName={"uuid[]"}
qualifierMessage={undefined}
schema={{"type":"array","items":{"type":"string","format":"uuid"}}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"component"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Get object component so that we know how to edit the object","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"assigned_application_slug"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Internal application name, used in URLs.","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"assigned_application_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Application's display Name.","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"assigned_backchannel_application_slug"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Internal application name, used in URLs.","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"assigned_backchannel_application_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Application's display Name.","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"verbose_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return object's verbose_name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"verbose_name_plural"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return object's plural verbose_name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"meta_model_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return internal model name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"client_type"}
required={false}
schemaName={"ClientTypeEnum (string)"}
qualifierMessage={"**Possible values:** [`confidential`, `public`]"}
schema={{"enum":["confidential","public"],"type":"string","title":"ClientTypeEnum"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"client_id"}
required={false}
schemaName={"string"}
qualifierMessage={"**Possible values:** `<= 255 characters`"}
schema={{"type":"string","maxLength":255}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"client_secret"}
required={false}
schemaName={"string"}
qualifierMessage={"**Possible values:** `<= 255 characters`"}
schema={{"type":"string","maxLength":255}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"access_code_validity"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Access codes not valid on or after current time + this value (Format: hours=1;minutes=2;seconds=3)."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"access_token_validity"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Tokens not valid on or after current time + this value (Format: hours=1;minutes=2;seconds=3)."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"refresh_token_validity"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Tokens not valid on or after current time + this value (Format: hours=1;minutes=2;seconds=3)."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"include_claims_in_id_token"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"Include User claims from scopes in the id_token, for applications that don't access the userinfo endpoint."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"signing_key"}
required={false}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","nullable":true,"description":"Key used to sign the tokens. Only required when JWT Algorithm is set to RS256."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"redirect_uris"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Enter each URI on a new line."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"sub_mode"}
required={false}
schemaName={"SubModeEnum (string)"}
qualifierMessage={"**Possible values:** [`hashed_user_id`, `user_id`, `user_uuid`, `user_username`, `user_email`, `user_upn`]"}
schema={{"enum":["hashed_user_id","user_id","user_uuid","user_username","user_email","user_upn"],"type":"string","title":"SubModeEnum"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"issuer_mode"}
required={false}
schemaName={"IssuerModeEnum (string)"}
qualifierMessage={"**Possible values:** [`global`, `per_provider`]"}
schema={{"enum":["global","per_provider"],"type":"string","title":"IssuerModeEnum"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"jwks_sources"}
required={false}
schemaName={"uuid[]"}
qualifierMessage={undefined}
schema={{"type":"array","items":{"type":"string","format":"uuid","title":"Any JWT signed by the JWK of the selected source can be used to authenticate."},"title":"Any JWT signed by the JWK of the selected source can be used to authenticate."}}
>
</SchemaItem>
</div>
</details>
</SchemaItem><SchemaItem
collapsible={true}
className={"schemaItem"}
>
<details
style={{}}
className={"openapi-markdown__details"}
>
<summary
style={{}}
>
<span
className={"openapi-schema__container"}
>
<strong
className={"openapi-schema__property"}
>
user
</strong><span
className={"openapi-schema__name"}
>
object
</span><span
className={"openapi-schema__divider"}
>
</span><span
className={"openapi-schema__required"}
>
required
</span>
</span>
</summary><div
style={{"marginLeft":"1rem"}}
>
<div
style={{"marginTop":".5rem","marginBottom":".5rem"}}
>
User Serializer
</div><SchemaItem
collapsible={false}
name={"pk"}
required={true}
schemaName={"ID (integer)"}
qualifierMessage={undefined}
schema={{"type":"integer","readOnly":true,"title":"ID"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"username"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `<= 150 characters`"}
schema={{"type":"string","maxLength":150}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"User's display name."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"is_active"}
required={false}
schemaName={"Active (boolean)"}
qualifierMessage={undefined}
schema={{"type":"boolean","title":"Active","description":"Designates whether this user should be treated as active. Unselect this instead of deleting accounts."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"last_login"}
required={false}
schemaName={"date-time"}
qualifierMessage={undefined}
schema={{"type":"string","format":"date-time","nullable":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"is_superuser"}
required={true}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"groups"}
required={false}
schemaName={"uuid[]"}
qualifierMessage={undefined}
schema={{"type":"array","items":{"type":"string","format":"uuid"}}}
>
</SchemaItem><SchemaItem
collapsible={true}
className={"schemaItem"}
>
<details
style={{}}
className={"openapi-markdown__details"}
>
<summary
style={{}}
>
<span
className={"openapi-schema__container"}
>
<strong
className={"openapi-schema__property"}
>
groups_obj
</strong><span
className={"openapi-schema__name"}
>
object[]
</span><span
className={"openapi-schema__divider"}
>
</span><span
className={"openapi-schema__nullable"}
>
nullable
</span><span
className={"openapi-schema__required"}
>
required
</span>
</span>
</summary><div
style={{"marginLeft":"1rem"}}
>
<li>
<div
style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}
>
Array [
</div>
</li><SchemaItem
collapsible={false}
name={"pk"}
required={true}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","readOnly":true,"title":"Group uuid"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"num_pk"}
required={true}
schemaName={"integer"}
qualifierMessage={undefined}
schema={{"type":"integer","description":"Get a numerical, int32 ID for the group","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"is_superuser"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"Users added to this group will be superusers."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"parent"}
required={false}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","nullable":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"parent_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","readOnly":true,"nullable":true}}
>
</SchemaItem><SchemaItem
collapsible={true}
className={"schemaItem"}
>
<details
style={{}}
className={"openapi-markdown__details"}
>
<summary
style={{}}
>
<span
className={"openapi-schema__container"}
>
<strong
className={"openapi-schema__property"}
>
attributes
</strong><span
className={"openapi-schema__name"}
>
object
</span>
</span>
</summary><div
style={{"marginLeft":"1rem"}}
>
<SchemaItem
name={"property name*"}
required={false}
schemaName={"any"}
qualifierMessage={undefined}
schema={{"type":"object","additionalProperties":{}}}
collapsible={false}
discriminator={false}
>
</SchemaItem>
</div>
</details>
</SchemaItem><li>
<div
style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}
>
]
</div>
</li>
</div>
</details>
</SchemaItem><SchemaItem
collapsible={false}
name={"email"}
required={false}
schemaName={"email"}
qualifierMessage={"**Possible values:** `<= 254 characters`"}
schema={{"type":"string","format":"email","title":"Email address","maxLength":254}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"avatar"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"User's avatar, either a http/https URL or a data URI","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={true}
className={"schemaItem"}
>
<details
style={{}}
className={"openapi-markdown__details"}
>
<summary
style={{}}
>
<span
className={"openapi-schema__container"}
>
<strong
className={"openapi-schema__property"}
>
attributes
</strong><span
className={"openapi-schema__name"}
>
object
</span>
</span>
</summary><div
style={{"marginLeft":"1rem"}}
>
<SchemaItem
name={"property name*"}
required={false}
schemaName={"any"}
qualifierMessage={undefined}
schema={{"type":"object","additionalProperties":{}}}
collapsible={false}
discriminator={false}
>
</SchemaItem>
</div>
</details>
</SchemaItem><SchemaItem
collapsible={false}
name={"uid"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"path"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"type"}
required={false}
schemaName={"UserTypeEnum (string)"}
qualifierMessage={"**Possible values:** [`internal`, `external`, `service_account`, `internal_service_account`]"}
schema={{"enum":["internal","external","service_account","internal_service_account"],"type":"string","title":"UserTypeEnum"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"uuid"}
required={true}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","readOnly":true}}
>
</SchemaItem>
</div>
</details>
</SchemaItem><SchemaItem
collapsible={false}
name={"is_expired"}
required={true}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"Check if token is expired yet.","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"expires"}
required={false}
schemaName={"date-time"}
qualifierMessage={undefined}
schema={{"type":"string","format":"date-time","nullable":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"scope"}
required={true}
schemaName={"string[]"}
qualifierMessage={undefined}
schema={{"type":"array","items":{"type":"string"}}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"id_token"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Get the token's id_token as JSON String","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"revoked"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"pk\": 0,\n \"provider\": {\n \"pk\": 0,\n \"name\": \"string\",\n \"authentication_flow\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"authorization_flow\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"property_mappings\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"component\": \"string\",\n \"assigned_application_slug\": \"string\",\n \"assigned_application_name\": \"string\",\n \"assigned_backchannel_application_slug\": \"string\",\n \"assigned_backchannel_application_name\": \"string\",\n \"verbose_name\": \"string\",\n \"verbose_name_plural\": \"string\",\n \"meta_model_name\": \"string\",\n \"client_type\": \"confidential\",\n \"client_id\": \"string\",\n \"client_secret\": \"string\",\n \"access_code_validity\": \"string\",\n \"access_token_validity\": \"string\",\n \"refresh_token_validity\": \"string\",\n \"include_claims_in_id_token\": true,\n \"signing_key\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"redirect_uris\": \"string\",\n \"sub_mode\": \"hashed_user_id\",\n \"issuer_mode\": \"global\",\n \"jwks_sources\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ]\n },\n \"user\": {\n \"pk\": 0,\n \"username\": \"string\",\n \"name\": \"string\",\n \"is_active\": true,\n \"last_login\": \"2024-09-13T14:05:42.240Z\",\n \"is_superuser\": true,\n \"groups\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"groups_obj\": [\n {\n \"pk\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"num_pk\": 0,\n \"name\": \"string\",\n \"is_superuser\": true,\n \"parent\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"parent_name\": \"string\",\n \"attributes\": {}\n }\n ],\n \"email\": \"user@example.com\",\n \"avatar\": \"string\",\n \"attributes\": {},\n \"uid\": \"string\",\n \"path\": \"string\",\n \"type\": \"internal\",\n \"uuid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n },\n \"is_expired\": true,\n \"expires\": \"2024-09-13T14:05:42.240Z\",\n \"scope\": [\n \"string\"\n ],\n \"id_token\": \"string\",\n \"revoked\": true\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</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>