Skip to main content
PUT
/
users
/
{handle}
/
ace-config
Put Ace Config
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
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

handle
string
required

Body

application/json
liveCompletion
boolean | null
behaviors
boolean | null
language
string | null

Response

200 - application/json
_id
string | null
email
string | null
name
string | null
slug
string | null
role
string | null
stats
object | null
oAuthIdentities
UserResponseOAuthIdentitiesItem · object[] | null
subscription
object | null
license
object | null