Oauth

Revoke given token. After this operation, the given token cannot be used anymore

post/oauth/revoke

Request body

client_idstring

Application client ID in Moka app dashboard

client_secretstring

Application client secret in Moka app dashboard

tokenstring

Access token that can be used to access Moka's APIs

Example request

{
  "client_id": "qwertyuiopasdfghkjlzxcvbnm123465789",
  "client_secret": "sdfghkjlzxcvbnm123465789qwertyuiopa",
  "token": "vbnm123465789qwertyuiopasdfghkjlzxc"
}

Response

Revoke token response

dataobject

Example response

{
  "meta": {
    "code": 200
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.