curl --request PUT \
--url https://api.example.com/pages/faq/{page_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "<string>",
"content": "<string>",
"display_order": 1,
"is_active": true
}
'{
"id": 123,
"language": "<string>",
"title": "<string>",
"content": "<string>",
"display_order": 123,
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"content_pages": [
"<string>"
]
}Обновление FAQ-страницы.
curl --request PUT \
--url https://api.example.com/pages/faq/{page_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "<string>",
"content": "<string>",
"display_order": 1,
"is_active": true
}
'{
"id": 123,
"language": "<string>",
"title": "<string>",
"content": "<string>",
"display_order": 123,
"is_active": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"content_pages": [
"<string>"
]
}