DELETE /api/v3/accountmeter/{accountMeterId}/template/{formTemplateId}

Deletes a template assignment from an account-meter relationship, automatically adjusting adjacent template date ranges

DeleteTemplateAssignmentV3 Permissions: Accounts (Edit)
Use this endpoint to remove a single template assignment from the account-meter’s template history. Cannot delete the last remaining template — at least one template must always exist. Adjacent templates are automatically adjusted: if deleting a middle template, the next template’s begin date is moved back; if deleting the last (most recent), the previous template’s end date extends to the account-meter’s end date; if deleting the first, the second template’s begin date is pulled to the account-meter’s begin date.

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
accountMeterId The unique numeric identifier of the account-meter relationship containing the template integer (int32) Required
formTemplateId The unique numeric identifier of the template assignment to delete integer (int32) Required

Responses

204 No Content The request succeeded. No content is returned in the response body.
400 Bad Request The request was malformed or contains invalid parameters. Check the request body and query parameters.
404 Not Found The requested resource was not found. Verify the ID or path is correct.