# `Backplane.Oauth.Revoke`
[🔗](https://github.com/gsmlg-opt/backplane/blob/v1.10.77/apps/backplane_oauth/lib/backplane/oauth/revoke.ex#L1)

Access token revocation

# `token`

```elixir
@spec token(request :: Backplane.Oauth.RevokeRequest.t()) ::
  :ok
  | {:error, error :: Backplane.Oauth.Error.t()}
  | {:error, error :: String.t()}
```

Revokes token according to the given `Backplane.Oauth.RevokeRequest`
## Examples
    iex> token(%RevokeRequest{
      client_id: "client_id",
      client_secret: "client_secret",
      token: "token"
    })
    :ok

---

*Consult [api-reference.md](api-reference.md) for complete listing*
