---
title: "Delete LookupTableRevision"
method: DELETE
path: "/organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{id}"
tags: ["LookupTableRevision"]
---

# Delete LookupTableRevision

`DELETE /organizations/{orgId}/lookuptables/{lookupTableId}/revisions/{id}`

Delete the Lookup Table Revision for the given UUID.

## Path parameters

- `orgId` string, required
- `id` string, required
- `lookupTableId` string, required

## Response `200`

Returns the deleted LookupTableRevision

- LookupTableRevisionResponse
  - `name` string — The name of the Lookup Table Revision.
  - `status` 'DRAFT' | 'PUBLISHED' | 'ARCHIVED' — The status of the Lookup Table Revision
  - `startDate` string, date-time — The start date of the Lookup Table Revision
  - `fields` LookupTableRevisionField[] — The list of fields of the Lookup Table Revision.
    - `name` string — The name of the field
    - `type` 'STRING' | 'NUMBER', required — The type of the field
  - `keys` string[] — The ordered keys of the Lookup Table Revision
  - `dtCreated` string, date-time — The DateTime when the Lookup Table Revision was created.
  - `dtLastModified` string, date-time — The DateTime when the Lookup Table Revision was last modified.
  - `createdBy` string — The id of the user who created the Lookup Table Revision.
  - `lastModifiedBy` string — The id of the user who last modified the Lookup Table Revision.
  - `itemCount` integer
  - `id` string, required — The UUID of the entity.
  - `version` integer — 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.
  - `customFields` object — User defined fields enabling you to attach custom data. The value for a custom field can be either a string or a number. If `customFields` can also be defined for this entity at the Organizational level,`customField` values defined at individual level override values of `customFields` with the same name defined at Organization level. See [Working with Custom Fields](https://www.m3ter.com/docs/guides/creating-and-managing-products/working-with-custom-fields) in the m3ter documentation for more information.

## Other responses

- `4XX` — Error message
- `5XX` — Error message

---

[API](https://skmtc.net/m3ter-com/apis/m3ter-api.md) · [All operations](https://skmtc.net/m3ter-com/apis/m3ter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/m3ter-com/m3ter-api/versions/ac93d1a9e6d9/schema)
