Node

Clear usage data from a specified table

Deletes all rows from the selected usage data table. Use with caution.

Allowed tables: - node_user_usages: Deletes user-specific node usage traffic records. - node_usages: Deletes node-level aggregated traffic (uplink/downlink) records.

Optional filters: - start: ISO 8601 timestamp to filter from (inclusive) - end: ISO 8601 timestamp to filter to (exclusive)

⚠️ This operation is irreversible. Ensure correct usage in production environments.

delete/api/nodes/clear_usage_data/{table}

Request

  • Base URL
    https://api.ha-man2.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.ha-man2.com/api/nodes/clear_usage_data/{table}
  • Auth
    OAuth 2
    Password
    Token URL: /api/admin/token

Path parameters

table'node_user_usages' | 'node_usages' required

Query parameters

startstring date-time nullable
endstring date-time nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.