Auth

Returns a JSON with the user's full name and a TOKEN used for all operations.

POST http(s)://MyThinfinityServer:[Port]/__ds@[your-domain]__/dirsvc/api/v1/auth/login

Headers

Request Body

{
    "data": {
        "user": {
            "username": "full userid"
        }
    "token": "7B6718ED0F914EAB857F0A8AF54C0CB6", //Token example
    "tokenExpiration": 600
     }
 }

Changes a user's password to a new one

POST http(s)://MyThinfinityServer:[Port]/__ds@[your-domain]__/dirsvc/api/v1/auth/changepassword

Headers

Request Body

{
    "data": {},
    "error": {
        "code": 86,
        "message": "The specified network password is not correct"
    }
}

Request Example:

JSON in Body

{
    "userid": "myUser",
    "password": "myPasswod"
}

Last updated