Expire token

Invalidates OAuth tokens for a customer or an e-commerce, depending on the specified token_ type.

Customer tokens can be expired across all devices, while e-commerce tokens expire the current active token. Expired tokens are immediately invalidated, cannot be reused, and require re-authentication. This operation is irreversible and affects all active sessions.

This endpoint can be used for:

  • Expiring the current eCommerce token.

  • Expiring a customer id. DATA: [customer_id]

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
int64

Internal id associated to the customer

string
required

Token associated to eCommerce

int64
enum
required

Type of the token that will be expired

1 -> expire customer token

2 -> expire ecommerce token

Allowed:
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json