Locations
Delete a Location
Changed onDelete a Location from a user's account.
delete/locations/{locationId}
Request
- Base URLhttps://api.smartthings.com/v1
- AuthOAuth 2Implicithttps://auth-global.api.smartthings.comScopesw:locations:*, d:service:locationservice:locations
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
forceboolean
Allow deleting a location with a a subscription that would otherwise block deletion. This is intended for GDPR deletes, and requires d:service:locationservice:locations.
Response
An empty object response.
Delete Location Response required
An empty object response.
Example response
{}Changes
- info
the security scope
d:service:locationservice:locationswas added to the endpoint's security schemeBearer - info
added the new optional
queryrequest parameterforce
- info