Create token prune
POST
/workspaces/{organizationId}/tokens/pruneAuthorization
AuthorizationBearer token · headerrequiredWorkspace API key (Authorization: Bearer <key>). Issue keys under Settings → Developer or POST /workspaces/{organizationId}/tokens.
Path parameters
organizationIdstringrequiredRequest body
application/jsonmaxAgeHoursnumbermin 0 · max 8760 · default: 24
Responses
200
Stale ephemeral agent keys pruned
prunednumberrequired