POST /v1/idempotency/cleanup
Service: accounting · operationId: (none)
Prune expired idempotency keys. Called by the jobs service on a daily schedule.
Required scopes
(no scope declared — review service config)
Responses
200 Cleanup completed
{
"type": "object",
"properties": {
"deleted": {
"type": "integer"
}
},
"required": [
"deleted"
]
}500 Internal server error
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"error",
"message"
]
}Example
curl -X POST https://accounting.platform.loop.health/v1/idempotency/cleanup \
-H "Authorization: Bearer $ACCESS_TOKEN"Related
services/accounting— service overview- All endpoints — directory across services
- Auth model — how scopes are enforced