Revoke Current Device Token
curl --request POST \
--url https://api.zerodrive.dev/v1/me/tokens/revoke \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zerodrive.dev/v1/me/tokens/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/me/tokens/revoke"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){}Revoke Current Device Token
Revoke the caller’s own device token (used on sign-out).
POST
https://api.zerodrive.dev
/
v1
/
me
/
tokens
/
revoke
Revoke Current Device Token
curl --request POST \
--url https://api.zerodrive.dev/v1/me/tokens/revoke \
--header 'Authorization: Bearer <token>'const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zerodrive.dev/v1/me/tokens/revoke', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/me/tokens/revoke"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text){}
