Skip to main content
DELETE
/
organizations
/
{orgId}
/
lookuptables
/
{lookupTableId}
/
revisions
/
{lookupTableRevisionId}
/
data
/
{lookupKey}
Delete LookupTableRevisionData entry
curl --request DELETE \
  --url https://api.m3ter.com/organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{lookupTableRevisionId}/data/{lookupKey} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "version": 123
}'
{
  "items": [
    {}
  ],
  "dtCreated": "2023-11-07T05:31:56Z",
  "dtLastModified": "2023-11-07T05:31:56Z",
  "createdBy": "<string>",
  "lastModifiedBy": "<string>",
  "version": 123
}

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.

lookupTableId
string
required

UUID of the Lookup Table.

lookupTableRevisionId
string
required

UUID of the Lookup Table Revision.

lookupKey
string
required

The specific lookup key for the Data item to delete.

Body

application/json
version
integer<int64>

The version of the Lookup Table Revision Data.

Response

Returns the deleted LookupTableRevisionData entry.

Response containing data for a Lookup Table Revision

items
object[]
required

The Lookup Table Revision Data.

Maximum array length: 2000
dtCreated
string<date-time>

The DateTime when the Lookup Table Revision Data was created.

dtLastModified
string<date-time>

The DateTime when the Lookup Table Revision Data was last modified.

createdBy
string

The id of the user who created the Lookup Table Revision Data.

lastModifiedBy
string

The id of the user who last modified the Lookup Table Revision Data.

version
integer<int64>

The version of the Lookup Table Revision Data.