Skip to main content
PUT
/
users
/
{handle}
Update User
curl --request PUT \
  --url https://codecombat.com/api/users/{handle} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "birthday": "<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
name
string
required
birthday
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