How to Batch Revoke Tokens Based on Their Creation Date

Background: 
This article explains how to revoke tokens based on their creation date using an API. 
 
As it can be seen in this knowledge base it is possible to revoke a token by using the connect/revocation end point. But what happens when you need to invalidate a large number of tokens, and haven’t kept track of all them? 
 
In Version 9.0.00263.0 Wyn Enterprise has introduced a new end point /api/v2/identity/token/batch-revocation, which allows users to invalidate all tokens created before a specified date.

Token Creation:

PropertyValue
Route{server}/api/v2/identity/token/batch-revocation
MethodPOST
AuthorizationAdminOnly
Body{ “creationBefore”: “2025-10-01” }

cURL Example:

curl --location 'http://localhost:51980/api/v2/identity/token/batch-revocation' \ 

--header 'Reference-Token: <YourTokenHere>' \ 

--header 'Content-Type: application/json' \ 

--data '{ 

    "creationBefore": "2026-02-13T01:31:00Z" 

}'  

Postman Screenshot Example:

The Response Body returns the count of the revoked tokens.

{ 
    "count": 10 
} 

⚠️ Warning

This operation is irreversible and will immediately invalidate all matching tokens and terminate active Wyn sessions, except for tokens created through the Generate Token page on the Admin Portal.

Enea Gega

Enea Gega

Enea is a Technical Product Enablement Specialist for the Wyn Enterprise Platform. He acts as a vital bridge between customers, product teams, and engineering to ensure that every new feature delivers genuine value and drives user adoption.

Enea specializes in translating complex customer needs into actionable insights for product roadmaps and technical documentation. By partnering cross-functionally, he ensures seamless delivery readiness and alignment across all releases.