Log out
curl --request POST \
--url https://aropay.aro.media/api/v1/auth/logoutconst options = {method: 'POST'};
fetch('https://aropay.aro.media/api/v1/auth/logout', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aropay.aro.media/api/v1/auth/logout"
response = requests.post(url)
print(response.text){
"ok": true,
"data": {
"signedOut": true
}
}{
"ok": false,
"error": {
"code": "internal_error",
"message": "An unexpected error occurred."
}
}Auth
Log out
Clear the session cookie. Safe to call regardless of state.
POST
/
auth
/
logout
Log out
curl --request POST \
--url https://aropay.aro.media/api/v1/auth/logoutconst options = {method: 'POST'};
fetch('https://aropay.aro.media/api/v1/auth/logout', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aropay.aro.media/api/v1/auth/logout"
response = requests.post(url)
print(response.text){
"ok": true,
"data": {
"signedOut": true
}
}{
"ok": false,
"error": {
"code": "internal_error",
"message": "An unexpected error occurred."
}
}⌘I