---
title: "Pause/resume a site key, or change its name, origins, cap, webhook or reading"
method: PATCH
path: "/api/v1/embed/keys/{id}"
tags: ["Embed"]
---

# Pause/resume a site key, or change its name, origins, cap, webhook or reading

`PATCH /api/v1/embed/keys/{id}`

## Request

- Base URL: `https://philforms.com`
- URL: `https://philforms.com/api/v1/embed/keys/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `origin` string[]
  - `daily_cap` integer
  - `is_active` boolean
  - `webhook_url` string, nullable
  - `is_reading_allowed` boolean

## Response `200`

{ key }

## Other responses

- `400`: Bad origin, cap or webhook
- `404`: No such site key

---

[API](https://skmtc.dev/philforms/apis/philforms-api.md) · [All operations](https://skmtc.dev/philforms/apis/philforms-api/llms.txt) · [OpenAPI document](https://skmtc.dev/philforms/apis/philforms-api/revisions/a43bf313729c?raw)
