Logout User
Log user out of the system.
Request
URI
GET
https://petstore3.swagger.io/user/logout
COPY
Responses
200
successful operation
Operation doesn't return any data structure
default
Unexpected error
Returns
Error
of type(s)
application/json
{
"code": "string",
"message": "string"
}
string
code
Required
code
string
message
Required
message
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/user/logout