Class used to call the AccessToken sub-product.

Sections
Namespace
Methods
I
Public
Instance Public methods
invalidate(access_token)

Rotate your access_token, keeping it attached to the item

Does a POST /item/access_token/invalidate call which will give you a new access_token allowing you to rotate access_tokens.

access_token

The String access_token to invalidate and rotate.

Returns

Returns an InvalidateResponse object with the new access_token and request id.

# File lib/plaid/products/item.rb, line 13
def invalidate(access_token)
  post_with_auth 'item/access_token/invalidate',
                 InvalidateResponse,
                 access_token: access_token
end