Responses
-
200 application/json
The current session was successfully destroyed.
-
501 application/json
The administrator needs to configure the authentication cluster. (code:
authc.no_authentication_cluster
) -
502 application/json
The authentication cluster failed to process the request. The response body contains details about the error. (code:
authc.authentication_cluster_error
)
POST
/users/auth/_logout
curl \
--request POST 'https://{{hostname}}/api/v1/users/auth/_logout' \
--user "username:password"
Response examples (200)
{}
Response examples (501)
# Headers
x-cloud-error-codes: authc.no_authentication_cluster
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (502)
# Headers
x-cloud-error-codes: authc.authentication_cluster_error
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}