curl --request PATCH \
--url http://localhost:8080/contests/daily/templates/{template_id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"prize_type": "<string>",
"prize_value": "<string>",
"max_winners": 2,
"attempts_per_user": 2,
"times_per_day": 2,
"schedule_times": "<string>",
"cooldown_hours": 2,
"payload": {},
"is_enabled": true
}
'{
"id": 123,
"name": "<string>",
"slug": "<string>",
"prize_type": "<string>",
"prize_value": "<string>",
"max_winners": 123,
"attempts_per_user": 123,
"times_per_day": 123,
"cooldown_hours": 123,
"is_enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"schedule_times": "<string>",
"payload": {}
}curl --request PATCH \
--url http://localhost:8080/contests/daily/templates/{template_id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"prize_type": "<string>",
"prize_value": "<string>",
"max_winners": 2,
"attempts_per_user": 2,
"times_per_day": 2,
"schedule_times": "<string>",
"cooldown_hours": 2,
"payload": {},
"is_enabled": true
}
'{
"id": 123,
"name": "<string>",
"slug": "<string>",
"prize_type": "<string>",
"prize_value": "<string>",
"max_winners": 123,
"attempts_per_user": 123,
"times_per_day": 123,
"cooldown_hours": 123,
"is_enabled": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"schedule_times": "<string>",
"payload": {}
}x >= 1x >= 1x >= 1x >= 1Successful Response