POST /api/accounts/v1/rename


Change username.

Request

{
  "token": String,
  "new": String
}

Response

Status code: 200

{
  "type": "renamed"
}

Possible errors

  • invalid username
  • invalid token
  • password incorrect
  • external