curl --request PATCH \
--url https://api.example.com/welcome-texts/{welcome_text_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"text": "<string>",
"is_enabled": true,
"is_active": true
}
'{
"id": 123,
"text": "<string>",
"is_active": true,
"is_enabled": true,
"created_by": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}Обновление приветственного текста.
curl --request PATCH \
--url https://api.example.com/welcome-texts/{welcome_text_id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"text": "<string>",
"is_enabled": true,
"is_active": true
}
'{
"id": 123,
"text": "<string>",
"is_active": true,
"is_enabled": true,
"created_by": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}