curl --request PUT \
--url https://api.sprucecollective.co.uk/admin/gaming/segments/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"color": "<string>",
"credits_won": 1,
"is_active": true,
"label": "<string>",
"order": 123,
"text_color": "<string>",
"type": "win"
}
'{
"color": "<string>",
"credits_won": 123,
"id": 123,
"label": "<string>",
"textColor": "<string>",
"type": "<string>"
}Update an existing wheel segment
curl --request PUT \
--url https://api.sprucecollective.co.uk/admin/gaming/segments/{id} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"color": "<string>",
"credits_won": 1,
"is_active": true,
"label": "<string>",
"order": 123,
"text_color": "<string>",
"type": "win"
}
'{
"color": "<string>",
"credits_won": 123,
"id": 123,
"label": "<string>",
"textColor": "<string>",
"type": "<string>"
}Type "Bearer" followed by a space and JWT token.
Segment ID
Update data