Revoke a refresh token
curl --request POST \
--url https://gamavas.fun/api/auth/oauth2/revoke \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'token=<string>' \
--data 'client_id=<string>'const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({token: '<string>', client_id: '<string>'})
};
fetch('https://gamavas.fun/api/auth/oauth2/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://gamavas.fun/api/auth/oauth2/revoke"
payload = {
"token": "<string>",
"client_id": "<string>"
}
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text)Sign-in
Revoke a refresh token
POST
/
auth
/
oauth2
/
revoke
Revoke a refresh token
curl --request POST \
--url https://gamavas.fun/api/auth/oauth2/revoke \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'token=<string>' \
--data 'client_id=<string>'const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({token: '<string>', client_id: '<string>'})
};
fetch('https://gamavas.fun/api/auth/oauth2/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://gamavas.fun/api/auth/oauth2/revoke"
payload = {
"token": "<string>",
"client_id": "<string>"
}
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text)
