API's
Lists API
Measurements
Locations
Delete
Delete
Delete
Deletes a location from an account.
Request
Method
URL
DELETE
https://api.solatech-dos.com/lists/v1/accounts/{accountUniqueId}/locations/{itemUniqueId}
Path Parameters
Name
Required
Type
Description
accountUniqueId
Guid
The unique ID of the account.
itemUniqueId
Guid
The unique ID of the location.
Headers
Name
Required
Type
Description
APIKey
Guid
A valid API key with a scope of
AccountLists
Remarks
Deleting a location never returns a 409 conflict for being in use — nothing else on the account references it.
Response
Headers
None
Status Code
Code
Description
204 No Content
The location was deleted.
401 Unauthorized
The API key is missing, invalid, disabled, or does not have the correct scope.
403 Forbidden
The API key does not belong to this account, the account does not have the API keys feature enabled, or the key does not have the required scope.
404 Not Found
No location was found with that id for this account.
Body
None