curl --location --request PUT 'https://api.challonge.com/v2/tournaments//matches/.json' \
--header 'Accept;' \
--header 'Authorization-Type;' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"type": "Match",
"attributes": {
"match": [
{
"participant_id": "76",
"score_set": "1,2,3,4",
"rank": 1,
"advancing": false
},
{
"participant_id": "76",
"score_set": "1,2,3,4",
"rank": 1,
"advancing": false
}
]
}
}
}'{
"id": 8008135,
"type": "match",
"attributes": {
"id": null,
"state": null,
"round": null,
"identifier": null,
"scores": null,
"score_in_sets": null,
"timestamps": null,
"winner": null,
"player1": null,
"player2": null,
"participants": null,
"attachments": null
}
}