add-token

Added at V2.4

Use this interface to add a token for user.

HTTP Request

GET http://ip/usapi?method=add-token&token=xxx&expire=xxx&user=xxx
Parameter Description
method Method name: add-token
token Token
expire Token expiration time, calculated from 1970-01-01 00:00:00 +0000 (UTC), -1 for unlimited, unit: seconds
user Username

Response Body

{
  "result": 0
}
Item Description
result Returned status.
0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""