Updates an existing location on an account.
The unique ID of the account.
The unique ID of the location.
A valid API key with a scope of AccountLists
The label of the location. Must not be empty and must be 32 characters or fewer.
Unlike tables with an Active column, locations have only one mutable field, so it is required on update just as it is on create — there's no partial/omit-to-leave-unchanged behavior here. The full label must be supplied on every update.
Location labels must still be unique per account when a new location value is supplied.
None
The updated location was returned.
The location was not updated. This occurs if location is missing, empty, or longer than 32 characters.
The API key is missing, invalid, disabled, or does not have the correct scope.
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.
No location was found with that id for this account.
A location with that name already exists for this account.
The unique ID of the location.
The label of the location.