modify_user_name
- Inputs
{
"user_name": "string between 4 to 40 characters"
}
- Errors
{
"must_login": "user must be login",
"taken_name": "any string containing 'pantel' or 'pante1' can't use for user name",
"user_name": [
{
"min length is 4": "minimum length of username is 4"
},
{
"max length is 40": "maximum length of username is 40"
}
],
"user_name_is_duplicate": "username is already taken by other users",
"wrong_username": "unacceptable characters as username in input"
}
- Extra Description
Change or define username for account
- Sample
- Url:
- Output:
{
"status": "success",
"time": 1526726826.6275113
}