Skip to main content
POST
Compact the context store by deleting inactive (revoked/expired) contexts

Body

application/json
apply
boolean

Delete the matched contexts. Requires --confirm prune-contexts.

confirm
string

Required with --apply; must be exactly prune-contexts

olderThan
string

Only delete contexts created at least this long ago (default: 7d)

Response

Success — body conforms to the @Returns schema.

changedCount
number
required
dryRun
boolean
required
matchedCount
number
required
olderThan
string
required
status
enum<string>
required
Available options:
pruned,
planned