OAuth2
Revoke token
- Documentation
- API Reference
- Integrations
- Changelog
- Blog
- GETGet analytics
- GETGet companies
- GETGet custom properties
- POSTCreate custom property
- PUTUpdate custom property
- DELDelete custom property
- GETGet customers
- POSTCreate customer
- GETGet customer
- PUTUpdate customer
- DELDelete customer
- GETGet customer portal
- PUTArchive customer
- POSTBulk update providers/customers mapping
- GETList credit products
- POSTCreate credit product
- GETGet credit product
- GETList credit transactions
- POSTPurchase credits
- POSTTopup credits
- POSTCreate credits usage
- POSTCreate component token
- GETGet invoices
- POSTCreate one-off invoice
- POSTSends a draft invoice for payment
- GETGet invoice
- GETDownload invoice
- POSTCreate transaction
- GETGet invoicing entities
- POSTCreate invoicing entity
- GETGet invoicing entity
- PUTUpdate invoicing entity
- DELDelete invoicing entity
- POSTCreate payment
- POSTUpdate prices
- POSTRefresh subscriptions
- POSTCreate subscription update
- POSTCancel subscription
- POSTPause subscription
- POSTReactivate subscription
- GETGet subscriptions
- POSTCreate subscription
- GETGet subscription
- POSTRefresh seat products
Analytics
Companies
Custom properties
Customers
Customers > Credits
Integrations
Invoices
Invoicing entities
Payments
Price configurations
Subscriptions
OAuth2
Revoke token
Revoke a refresh token. Once revoked the token can not be used anymore.
POST
/
v1
/
oauth
/
revoke
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
object
client_id
string
*
client_id
Required
string
Application's client ID.
client_secret
string
*
client_secret
Required
string
Application's client secret.
token
string
*
token
Required
string
The refresh token to revoke.
curl --request POST \
--url https://api.hyperline.co/v1/oauth/revoke \
--header 'Content-Type: application/json' \
--data '{
"client_id": "<string>",
"client_secret": "<string>",
"token": "<string>"
}'
Body
application/json
client_id
string
requiredApplication's client ID.
client_secret
string
requiredApplication's client secret.
token
string
requiredThe refresh token to revoke.
curl --request POST \
--url https://api.hyperline.co/v1/oauth/revoke \
--header 'Content-Type: application/json' \
--data '{
"client_id": "<string>",
"client_secret": "<string>",
"token": "<string>"
}'