# Delete Sub-Account (Formerly Location)

- **URL:** https://marketplace.gohighlevel.com/docs/ghl/locations/delete-location
- **Summary:** Delete Sub-Account (Formerly Location)

[Skip to main content](https://marketplace.gohighlevel.com/docs/ghl/locations/delete-location#__docusaurus_skipToContent_fallback)

Version: v3

Delete Sub-Account (Formerly Location)
======================================

DELETE 

/locations/:locationId
----------------------

Delete a Sub-Account (Formerly Location) from the Agency

Request[​](https://marketplace.gohighlevel.com/docs/ghl/locations/delete-location#request "Direct link to request")

Responses[​](https://marketplace.gohighlevel.com/docs/ghl/locations/delete-location#responses "Direct link to Responses")

*   200
*   400
*   401

Successful response

Bad Request

Unauthorized
