---
title: "DELETE /ver2/UOMService.svc/uom/{uomIdOrName}"
method: DELETE
path: "/ver2/UOMService.svc/uom/{uomIdOrName}"
tags: ["UOMService"]
---

# DELETE /ver2/UOMService.svc/uom/{uomIdOrName}

`DELETE /ver2/UOMService.svc/uom/{uomIdOrName}`

## Request

- Base URL: `https://api.enviance.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.enviance.com/ver2/UOMService.svc/uom/{uomIdOrName}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/enviance/apis/restapi/docs/ver2/UOMService.svc/uom/:uomIdOrName/delete.ts> (a function with typed inputs; its response is checked against the schema)

<!-- https://commonmark.org/help/ 
https://spec.commonmark.org/0.31.2/
-->
Creates a new Location object in the Compliance Model, optionally by copying the structure from another Location to the new Location. Supported object types are Division, Facility (Program), Unit (Element), and Point of Interest. This API does not support historical custom fields (those with Track Value History enabled).



envianceSdk.UOM.deleteUOMCategory
```
[
  "0128E876-42C3-4820-8219-000A3F2409AA",
  "onsuccess",
  "onerror"
]
```
envianceSdk.UOM.deleteUOM
```
[
  "0128E876-42C3-4820-8219-000A3F2409AA",
  "onsuccess",
  "onerror"
]
```

## Path parameters

- `uomIdOrName` string, required

## Headers

- `EnvApi-Systemid` string
- `EnvApi-Packageid` string
- `EnvApi-Udf-DateTime-Iso-In-CustomFields` string
- `EnvApi-Udf-DateTime-ReadInUserTz` string
- `EnvApi-Udf-Value-Invariant` string
- `EnvApi-Localization-All` string
- `x-client-request-id` string

## Response `default`

not available

---

[API](https://skmtc.dev/enviance/apis/restapi.md) - [All operations](https://skmtc.dev/enviance/apis/restapi/llms.txt) - [OpenAPI document](https://skmtc.dev/enviance/apis/restapi/revisions/45b2200a8cf2?raw)
