Clears every open or snoozed inbox item of the extraction code and returns how many were cleared. Super admin only; 404 while the collection-ops console is turned off.
POST
/admin/collection-ops/inbox/codes/{codeId}/clear
curl \
--request POST 'http://api.example.com/admin/collection-ops/inbox/codes/{codeId}/clear' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"cleared": 3
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}