API ReferenceManagementFlow Management
POST
/v1/mgmt/flow/cache/purge

Authorization

Descope Project ID and Management Key
AuthorizationBearer <token>

Project ID:Management Key as bearer token.

In: header

Request Body

application/json

id*string

The flow ID, for example sign-up-or-in

Length1 <= length

Purge the cached previous versions of a flow, using a valid management key. After a flow is saved, its previous versions stay cached for a limited time, so executions already running on them can finish and pages loaded before the save can still start them. Purging removes them right away: any request for a purged version fails with a reload-page error, including the next step of an execution still running on it. The current version is not affected. Same as Purge Cache on the flow page in the console.

curl -X POST "https://api.descope.com/v1/mgmt/flow/cache/purge" \  -H "Content-Type: application/json" \  -d '{    "id": "string"  }'
Was this helpful?