API
/web_api/auth/logout
/web_api/auth/logout
This page is built from the JSON Schema snapshot in the documentation repository. The snapshot is updated by a separate command from the main app catalog and is not rewritten when the site is built.
Request
main-app://schemas/api_auth/logout.request.json
POST /web_api/auth/logout body
| Name | Type | Required | Constraint |
|---|---|---|---|
* | any | No | other fields allowed |
Response
main-app://schemas/api_auth/logout.response.json
POST /web_api/auth/logout success
| Name | Type | Required | Constraint |
|---|---|---|---|
api_code | integer | Yes | const 200 |
api_result | object | Yes | no other fields |
empty | boolean | No | - |
Other top-level fields are not allowed.
api_result
| Name | Type | Required | Constraint |
|---|---|---|---|
message | string | Yes | - |
Source schema
The files below are copied from the snapshot unchanged. A $ref fragment is a separate block. The schemas are not merged.
Request: main-app://schemas/api_auth/logout.request.json
json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "main-app://schemas/api_auth/logout.request.json",
"title": "POST /web_api/auth/logout body",
"type": "object",
"required": [],
"additionalProperties": true,
"properties": []
}Response: main-app://schemas/api_auth/logout.response.json
json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "main-app://schemas/api_auth/logout.response.json",
"title": "POST /web_api/auth/logout success",
"allOf": [
{ "$ref": "main-app://schemas/_shared/envelope-success.json" },
{
"type": "object",
"properties": {
"api_result": {
"type": "object",
"required": ["message"],
"additionalProperties": false,
"properties": {
"message": { "type": "string" }
}
}
}
}
]
}Fragment: main-app://schemas/_shared/envelope-success.json
json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "main-app://schemas/_shared/envelope-success.json",
"title": "Canonical success envelope",
"type": "object",
"required": ["api_code", "api_result"],
"properties": {
"api_code": { "const": 200 },
"api_result": true,
"empty": { "type": "boolean" }
},
"additionalProperties": false
}Did this page help?