Logout Others
curl --request POST \
--url https://api.example.com/api/v1/users/logout-others \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/users/logout-others', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/api/v1/users/logout-others"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"message": "<string>"
}Users
Logout Others
Revoke every refresh token except the family that issued the current access token.
POST
/
api
/
v1
/
users
/
logout-others
Logout Others
curl --request POST \
--url https://api.example.com/api/v1/users/logout-others \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/users/logout-others', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.example.com/api/v1/users/logout-others"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){
"message": "<string>"
}