Auth
Revoke the current session or one owned session
POST
/
api
/
auth
/
mobile
/
revoke
Revoke the current session or one owned session
curl --request POST \
--url https://app.paperlink.online/api/auth/mobile/revoke \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({token_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://app.paperlink.online/api/auth/mobile/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.paperlink.online/api/auth/mobile/revoke"
payload = { "token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)⌘I
Revoke the current session or one owned session
curl --request POST \
--url https://app.paperlink.online/api/auth/mobile/revoke \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({token_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a'})
};
fetch('https://app.paperlink.online/api/auth/mobile/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.paperlink.online/api/auth/mobile/revoke"
payload = { "token_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
