Skip to main content
DELETE
/
organizations
/
{orgId}
/
counteradjustments
/
{id}
Delete CounterAdjustment
curl --request DELETE \
  --url https://api.m3ter.com/organizations/{orgId}/counteradjustments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "version": 123,
  "dtCreated": "2023-11-07T05:31:56Z",
  "dtLastModified": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "lastModifiedBy": "<string>",
  "counterId": "<string>",
  "accountId": "<string>",
  "date": "2023-12-25",
  "value": 123,
  "purchaseOrderNumber": "<string>"
}

Authorizations

Authorization
string
header
required

m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.

The authorizationCode flow controls access for human users via the m3ter Console application.

Path Parameters

orgId
string
required

UUID of the Organization. The Organization represents your company as a direct customer of the m3ter service.

id
string
required

The UUID of the CounterAdjustment to delete.

Response

Returns the deleted CounterAdjustment

id
string
required

The UUID of the entity.

version
integer<int64>

The version number:

  • Create: On initial Create to insert a new entity, the version is set at 1 in the response.
  • Update: On successful Update, the version is incremented by 1 in the response.
dtCreated
string<date-time>

The DateTime when this item was created (in ISO-8601 format).

dtLastModified
string<date-time>

The DateTime when this item was last modified (in ISO-8601 format).

createdBy
string

The ID of the user who created this item.

lastModifiedBy
string

The ID of the user who last modified this item.

counterId
string

The ID of the Counter that was used to make the CounterAdjustment on the Account.

accountId
string

The Account ID the CounterAdjustment was created for.

date
string<date>

The date the CounterAdjustment was created for the Account (in ISO-8601 date format).

value
integer<int32>

Integer Value of the Counter that was used to make the CounterAdjustment.

purchaseOrderNumber
string

Purchase Order Number for the Counter Adjustment. (Optional)