Use this endpoint to revoke an active authorization token when you need to terminate a session, logout from a device, or invalidate compromised credentials. Once revoked, the token can no longer be used to access protected resources.
Request
Authorization
API Key
Add parameter in header
X-DPT-AUTHORIZATION
Example:
X-DPT-AUTHORIZATION: ********************
or
Header Params
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://sandbox.privicore.com:9009/profile/revoke-authorization-token' \
--header'X-DPT-AUTHORIZATION: <api-key>'