accounts

Enable or disable Basic Approval for a location

Enables or disables Basic Approval (uses_approval) for a single location. This is the location-level approval gate before Advanced Policies apply.

patch/accounts/{id}/locations/{location_id}

Path parameters

idstring required

Account ID

location_idinteger required

Location ID

Headers

Authorizationstring required

OAuth2 authentication flows. Auth server URLs will vary by environment

X-Api-Keystring required

API key for authentication

X-API-Versionstring

API version to use (optional, defaults to latest). Supported values: 1.0.0, 1.1.0.

Request body

uses_approvalboolean required

true to enable Basic Approval; false to disable

Response

Successful response with the updated location

versionstring

The API version of the response.

idinteger required
namestring required
uses_approvalboolean required

Whether Basic Approval is enabled for this location.

is_activeboolean
company_idinteger nullable
company_namestring nullable
group_idinteger nullable
group_namestring nullable
street_addressstring nullable
citystring nullable
statestring nullable
zipcodestring nullable

Changes