---
title: "Delete a location asset"
method: DELETE
path: "/assets/locations/{id}"
tags: ["Assets"]
---

# Delete a location asset

`DELETE /assets/locations/{id}`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/assets/locations/{id}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/assets/locations/:id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete an existing location asset by its ID

## Path parameters

- `id` string, required

## Response `204`

Location asset deleted successfully

## Other responses

- `400`: Bad request - invalid ID format
- `401`: Unauthorized - authentication required
- `404`: Location asset not found
- `default`: Generic error response

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
