DELETE /api/v202304/commodity/{commodityId}

Deletes a commodity by its identifier

DeleteCommodityV202304 Permissions: UnitSystemSettings (Manage)
Use this endpoint to permanently remove a commodity. The commodity cannot be deleted if it is currently assigned to any meters or rate schedules.

Request Headers

Header Value Required Description
ECI-ApiKey string Yes Your API key. See Authentication.
Content-Type application/json Yes All requests must specify JSON content type.

Path Parameters

Name Description Type Required
commodityId Unique numeric identifier of the commodity to delete integer (int32) Required

Responses

204 No Content The request succeeded. No content is returned in the response body.
404 Not Found The requested resource was not found. Verify the ID or path is correct.