Skip to main content
POST
/
preferences
/
updateAccountType
Update account type
curl --request POST \
  --url http://api.superwize.ai/api/preferences/updateAccountType \
  --header 'Content-Type: application/json' \
  --data '
{
  "accountType": "GENERAL"
}
'
{
  "accountType": "GENERAL",
  "isLocked": true
}

Body

application/json
accountType
enum<string>
required
Available options:
GENERAL,
STUDENT,
TEACHER

Response

Account type updated.

accountType
enum<string>
required
Available options:
GENERAL,
STUDENT,
TEACHER
isLocked
boolean
required