diff --git a/frontend/src/pages/api-docs/endpoints.js b/frontend/src/pages/api-docs/endpoints.js index 411c514c..24259bbb 100644 --- a/frontend/src/pages/api-docs/endpoints.js +++ b/frontend/src/pages/api-docs/endpoints.js @@ -193,6 +193,14 @@ export const sections = [ body: '{\n "id": 1,\n "settings": "{\\"clients\\":[{\\"id\\":\\"uuid-here\\",\\"email\\":\\"user1\\",\\"limitIp\\":2,\\"totalGB\\":10737418240,\\"expiryTime\\":1735689600000,\\"enable\\":true}]}"\n}', }, + { + method: 'POST', + path: '/panel/api/inbounds/:id/resetTraffic', + summary: 'Zero out upload + download counters for a single inbound. Does not touch per-client counters.', + params: [ + { name: 'id', in: 'path', type: 'number', desc: 'Inbound ID.' }, + ], + }, { method: 'POST', path: '/panel/api/inbounds/:id/resetClientTraffic/:email',