Latest stories

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:
https://api.pantel.me/a/set_ttl?ttl=10
  • Output:
                                {
    "status": "success",
    "time": 1546256845.35256
}