Skip to main content
POST
Sweep Expired App Data
Deletes every record of your app whose ttlSeconds has passed. Reads already skip expired records, so this is housekeeping — call it from a scheduled job to keep short-lived records (OAuth state, idempotency markers) from piling up.
App data is authenticated with your app’s client credentials, not a store’s access token — so your app can read what it stored (for example a store’s access token) before it has a token to use:
Records are private to your app. storeId is a partition you choose: pass the store’s id to keep a record per store, or omit it for app-wide records.

Request

Response

Errors