set_ttl
- Inputs
{
"ttl": "integer between 1 to 180: time to live for account in days"
}
- Errors
{
"must_login": "user must be login",
"ttl": [
{
"min value is 1": "minimum valid value is 1"
},
{
"max value is 180": "maximum valid value is 180"
}
]
}
- Extra Description
Time to live for the user's account if not login
- Sample
- Url:
- Output:
{
"status": "success",
"time": 1546256845.35256
}