modify_name
- Inputs
{
"description": "string: 128 characters maximum: optional",
"first_name": "string: 20 characters maximum: cannot left empty",
"last_name": "string: 20 characters maximum: cannot left empty"
}
- Errors
{
"description": [
{
"max length is 128": "maximum length of description is 128"
}
],
"enter_valid_first_name": "unacceptable characters in input for first_name",
"enter_valid_last_name": "unacceptable characters in input for last_name",
"first_name": [
{
"max length is 20": "maximum length of first_name is 20"
}
],
"last_name": [
{
"max length is 20": "maximum length of last_name is 20"
}
],
"must_login": "user must be login"
}
- Extra Description
User can edit first name and last name. a short description about the user can be added here as an optional info
- Sample
- Url:
- Output:
{
"status": "success",
"time": 1526726826.6275113
}