---
title: "Delete a Location"
method: DELETE
path: "/locations/{locationId}"
tags: ["Locations"]
---

# Delete a Location

`DELETE /locations/{locationId}`

## Request

- Base URL: `https://api.smartthings.com/v1`
- URL: `https://api.smartthings.com/v1/locations/{locationId}`
- Auth: OAuth 2
  - Implicit: `https://auth-global.api.smartthings.com`
  - Scopes: `w:locations:*`, `d:service:locationservice:locations`
- TypeScript: <https://skmtc.dev/smartthings/apis/smartthings-api/docs/locations/:locationId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a Location from a user's account.

## Query parameters

- `force` boolean

## Response `200`

An empty object response.

- DeleteLocationResponse: An empty object response.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too many requests
- `default`: Unexpected error

## Changes

- **2026-01-22** `6acc46f51053`: 2 info
  - the security scope `d:service:locationservice:locations` was added to the endpoint's security scheme `Bearer`
  - added the new optional `query` request parameter `force`

[Operation history](https://skmtc.dev/smartthings/apis/smartthings-api/changes/locations/:locationId/delete.md)

---

[API](https://skmtc.dev/smartthings/apis/smartthings-api.md) - [All operations](https://skmtc.dev/smartthings/apis/smartthings-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartthings/apis/smartthings-api/revisions/2788a4236800?raw)
