curl --request PATCH \
--url https://api.crevio.co/v1/legal_pages/{id_or_slug} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"body": "<string>"
}
'{
"object": "<string>",
"id": "<string>",
"title": "<string>",
"slug": "<string>",
"body": "<string>",
"policy_type": "terms_of_service",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Updates a legal page’s body. Clearing the Terms of Service body also disables the require_terms_acceptance setting on the account.
curl --request PATCH \
--url https://api.crevio.co/v1/legal_pages/{id_or_slug} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"body": "<string>"
}
'{
"object": "<string>",
"id": "<string>",
"title": "<string>",
"slug": "<string>",
"body": "<string>",
"policy_type": "terms_of_service",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Documentation Index
Fetch the complete documentation index at: https://docs.crevio.co/llms.txt
Use this file to discover all available pages before exploring further.
API key in the format: Bearer {api_token}
The resource prefix ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Was this page helpful?