dipp REST API
  1. OAuth Integration
dipp REST API
  • Welcome to dipp REST API
  • OAuth Integration
    • Dipp OAuth Integration Guide
    • OpenID Connect Discovery
      GET
    • Authorization Endpoint
      GET
    • Token Endpoint
      POST
    • UserInfo Endpoint
      GET
    • UserInfo Endpoint (POST)
      POST
    • Token Revocation Endpoint
      POST
    • JSON Web Key Set
      GET
  • Get brands
    GET
  • Get layouts
    GET
  • Download CSV template
    GET
  • Get current quotation
    GET
  • Create campaign
    POST
  • Get campaigns
    GET
  • Download product bundle image by data
    POST
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
    • Schemas
      • Generic Error
      • DiscoveryDocument
      • Validation Error
      • TokenResponse
      • UserInfo
      • Address
      • JWKS
      • JWK
      • OAuthError
      • ConsentResponse
  1. OAuth Integration

Token Revocation Endpoint

POST
/oauth/v1/revoke
Revokes an access token or refresh token

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/x-www-form-urlencoded

Request Code 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://api.withdipp.com/oauth/v1/revoke' \
--header 'Authorization: Bearer <token>' \
--data-urlencode 'token=' \
--data-urlencode 'token_type_hint=' \
--data-urlencode 'client_id=' \
--data-urlencode 'client_secret='

Responses

🟢200OK
application/json
Token revoked successfully (even if token was invalid)
Body

Example
{}
🟠400Bad Request
Modified at 2025-08-18 07:54:34
Previous
UserInfo Endpoint (POST)
Next
JSON Web Key Set
Built with