Request
Add the parameter Authorization
to Headers,whose value is to concatenate the Token after the Bearer. Example:Authorization: Bearer ********************
Body Params application/json
{
"assign_ai_enabled": true,
"commit_ai_enabled": true,
"contest_script_environment_enabled": true,
"private_match_enabled": true,
"public_match_enabled": true,
"test_match_enabled": true
}
Request samples
curl --location --request PATCH '/games/3/states' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoxLCJleHAiOjE3MDM3MzM1NjQsImlzcyI6Imp3dCJ9.Xo_0epX1XR_SQ8_kPsEDNzUJ4Jyuns0cTdSJJQiaG8o' \
--header 'Content-Type: application/json' \
--data-raw '{
"assign_ai_enabled": true,
"commit_ai_enabled": true,
"contest_script_environment_enabled": true,
"private_match_enabled": true,
"public_match_enabled": true,
"test_match_enabled": true
}'
Responses
application/json Modified at 2023-12-27 05:38:57