PUT
/
users
/
{handle}
/
ace-config

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

handle
string
required

The document's _id or slug.

Body

application/json
liveCompletion
boolean | null

controls whether autocompletion snippets show up, the default value is true

behaviors
boolean | null

controls whether things like automatic parenthesis and quote completion happens, the default value is false

language
string | null

only for home users, should be one of ["python", "javascript", "cpp", "lua", "coffeescript"] right now

Response

200 - application/json

Subset of properties listed here

_id
string | null
email
string | null
name
string | null
slug
string | null
role
string | null

Usually either 'teacher' or 'student'

stats
object | null
oAuthIdentities
object[] | null
subscription
object | null
license
object | null