OAuth
Revoke an OAuth token
POST
https://api.join.tl
/
oauth
/
revoke
Revoke an OAuth token
curl --request POST \
--url https://api.join.tl/oauth/revoke \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'token=<string>'const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({token: '<string>'})
};
fetch('https://api.join.tl/oauth/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.join.tl/oauth/revoke"
payload = { "token": "<string>" }
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text){
"error": {
"code": "too-many-requests",
"message": "Too many requests."
},
"requestId": "request_example_429"
}⌘I
Revoke an OAuth token
curl --request POST \
--url https://api.join.tl/oauth/revoke \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data 'token=<string>'const options = {
method: 'POST',
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
body: new URLSearchParams({token: '<string>'})
};
fetch('https://api.join.tl/oauth/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.join.tl/oauth/revoke"
payload = { "token": "<string>" }
headers = {"Content-Type": "application/x-www-form-urlencoded"}
response = requests.post(url, data=payload, headers=headers)
print(response.text){
"error": {
"code": "too-many-requests",
"message": "Too many requests."
},
"requestId": "request_example_429"
}