---
title: "Enable or disable Basic Approval for a location"
method: PATCH
path: "/accounts/{id}/locations/{location_id}"
tags: ["accounts"]
---

# Enable or disable Basic Approval for a location

`PATCH /accounts/{id}/locations/{location_id}`

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

## Path parameters

- `id` string, required
- `location_id` integer, required

## Headers

- `Authorization` string, required
- `X-Api-Key` string, required
- `X-API-Version` string

## Request body

- object
  - `uses_approval` boolean, required — true to enable Basic Approval; false to disable

## Response `200`

Successful response with the updated location

- LocationDetailObject
  - `version` string — The API version of the response.
  - `id` integer, required
  - `name` string, required
  - `uses_approval` boolean, required — Whether Basic Approval is enabled for this location.
  - `is_active` boolean
  - `company_id` integer, nullable
  - `company_name` string, nullable
  - `group_id` integer, nullable
  - `group_name` string, nullable
  - `street_address` string, nullable
  - `city` string, nullable
  - `state` string, nullable
  - `zipcode` string, nullable

## Other responses

- `401` — Unauthorized - Authentication required or invalid credentials
- `403` — Forbidden - Access denied or insufficient permissions
- `404` — Not found - Resource does not exist

---

[API](https://skmtc.dev/ottimate/apis/api-reference.md) · [All operations](https://skmtc.dev/ottimate/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ottimate/api-reference/revisions/ba91ff4c6969/schema)
