---
title: "Delete an Allocation Window"
method: DELETE
path: "/allocationwindow/{uuid}.json"
tags: ["Allocation Windows"]
---

# Delete an Allocation Window

`DELETE /allocationwindow/{uuid}.json`

In ServiceM8, deleting a record sets its `active` field to `0`. Inactive records are still accessible on the API, but are hidden in the UI. Inactive records can be restored by setting their `active` field to `1`.

## Path parameters

- `uuid` string, uuid, required

## Response `200`

Allocation Window successfully archived

- Result
  - `errorCode` number
  - `message` string

## Other responses

- `400` — Bad Request
- `default` — Unexpected error

---

[API](https://skmtc.dev/servicem8/apis/servicem8-api.md) · [All operations](https://skmtc.dev/servicem8/apis/servicem8-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/servicem8/servicem8-api/revisions/dfd49e8f5d1b/schema)
