Is it possible to revoke:
using the Podio-js library?
You can invalidate the current user access_token
using the Invalidate Tokens endpoint.
The access token can still be refreshed using the refresh_token
var PodioJS = require('podio-js');
PodioJS.request('POST', '/oauth/token/invalidate', {});
Using the Invalidate Grant endpoint instead invalidate both tokens, which means that the user is effectively logged out.
var PodioJS = require('podio-js');
PodioJS.request('POST', '/oauth/grant/invalidate', {});