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 Code Samples
curl --location --request PATCH '/games/3/states' \
--header 'Authorization: Bearer <token>' \
--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