---
title: "Update legal page"
method: PATCH
path: "/legal_pages/{id_or_slug}"
tags: ["LegalPages"]
---

# Update legal page

`PATCH /legal_pages/{id_or_slug}`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/legal_pages/{id_or_slug}`
- Auth: API key in header `Authorization`

Updates a legal page's body. Clearing the Terms of Service body also disables the require_terms_acceptance setting on the account.

## Path parameters

- `id_or_slug` string, required

## Request body

- LegalPageRequest
  - `body` string

## Response `200`

Legal page updated

- LegalPage
  - `object` string, required
  - `id` string, required
  - `title` string, required
  - `slug` string, required
  - `body` string, required
  - `policy_type` 'terms_of_service' | 'privacy_policy' | 'refund_policy', required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per credential. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

---

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