# Put Sub-Account (Formerly Location)

- **URL:** https://marketplace.gohighlevel.com/docs/ghl/locations/put-location
- **Summary:** Put Sub-Account (Formerly Location)

[Skip to main content](https://marketplace.gohighlevel.com/docs/ghl/locations/put-location#__docusaurus_skipToContent_fallback)

Version: v3

Put Sub-Account (Formerly Location)
===================================

PUT 

/locations/:locationId
----------------------

Update a Sub-Account (Formerly Location) based on the data provided

Request[​](https://marketplace.gohighlevel.com/docs/ghl/locations/put-location#request "Direct link to request")

Responses[​](https://marketplace.gohighlevel.com/docs/ghl/locations/put-location#responses "Direct link to Responses")

*   200
*   400
*   401

Successful update response

Bad Request

Unauthorized
