वर्तमान उपयोगकर्ता सत्र से लॉग आउट करें
वर्तमान उपयोगकर्ता सत्र से लॉग आउट करें।
GET https://petstore3.swagger.io/api/v3/user/logout
उदाहरण
- API Key
- OAuth 2.0
cURL
GET "https://petstore3.swagger.io/api/v3/user/logout" \
-H "accept: application/json" \
-H "api_key: <YOUR_API_KEY>"
cURL
GET "https://petstore3.swagger.io/api/v3/user/logout" \
-H "accept: application/json" \
-H "Authorization: Bearer <YOUR_OAUTH_TOKEN>"
प्रतिक्रियाएँ
| कोड | विवरण |
|---|---|
| 200 | सफल ऑपरेशन |
| default | सफल ऑपरेशन |
प्रतिक्रिया का उदाहरण
200: सफल ऑपरेशन
Response
{
"message": "Successfully logged out"
}
पैरामीटर
कोई नहीं