---
title: "Update a probe location's label/enabled (public rows root-only)"
method: PUT
path: "/api/{org_id}/synthetics/locations/{id}"
tags: ["Synthetics"]
---

# Update a probe location's label/enabled (public rows root-only)

`PUT /api/{org_id}/synthetics/locations/{id}`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/synthetics/locations/{id}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/synthetics/locations/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `org_id` string, required
- `id` string, required

## Request body

- object
  - `enabled` boolean, nullable: Omitted keeps the stored value; an explicit `false` disables.
  - `label` string, required

## Response `200`

Success

- SyntheticsLocationRecord
  - `created_at` integer, required
  - `enabled` boolean, required
  - `id` string, required
  - `kind` string, required
  - `label` string, required
  - `org_id` string, nullable
  - `pool` string, required
  - `provider` string, required
  - `region` string, required
  - `updated_at` integer, required

## Other responses

- `403`: Public locations are root-only
- `404`: Not found

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
