cURL
curl --request PUT \ --url https://codecombat.com/api/users/{handle}/ace-config \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{ "liveCompletion": true, "behaviors": true, "language": "<string>" }'
{ "_id": "<string>", "email": "<string>", "name": "<string>", "slug": "<string>", "role": "<string>", "stats": { "gamesCompleted": 123, "concepts": {}, "playTime": 123 }, "oAuthIdentities": [ { "provider": "<string>", "id": "<string>" } ], "subscription": { "ends": "<string>", "active": true }, "license": { "ends": "<string>", "active": true } }
Set the user’s aceConfig (the settings for the in-game Ace code editor), such as whether to enable autocomplete.
Show child attributes