Waffle API
  1. Authentication
Waffle API
  • Overview
  • Authentication
    • Get access token
      POST
    • Refresh token
      POST
    • Revoke token
      POST
  • Game
    • List games
      GET
    • Get loyalty program by ID
      GET
    • Create new game
      POST
    • Update game by ID
      PUT
    • Delete game by ID
      DELETE
  • Ticket
  • Game Account
    • List game accounts
      GET
    • Get game account by ID
      GET
    • Search game accounts
      POST
  • Report
  • Game Service
    • Gen Token
      POST
    • Login
      POST
    • List games
      GET
    • Verify Session
      GET
  1. Authentication

Revoke token

Developing
Develop Env
https://dev.your-api-server.com
Develop Env
https://dev.your-api-server.com
POST
https://dev.your-api-server.com
/v1/auth/revoke
Last modified:2024-04-09 14:15:44

Request

Header Params
Content-Type
string 
required
Default:
application/json
Body Params application/json
accessToken
string 
required
Example
{
  "refresh_token": "your_refresh_token"
}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dev.your-api-server.com/v1/auth/revoke' \
--header 'Content-Type: application/json' \
--data-raw '{
  "refresh_token": "your_refresh_token"
}'

Responses

🟢200Success
text/plain
Body
object {0}
Modified at 2024-04-09 14:15:44
Previous
Refresh token
Next
List games
Built with