إنهاء جلسة عمل المستخدم الحالي
تسجيل خروج جلسة المستخدم الحالية.
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"
}
المعلمات
لا شيء