User
User SetPassword
post/api/user/{userid}/setpassword
Request
- Base URLhttps://api.lytics.io
- URLhttps://api.lytics.io/api/user/{userid}/setpassword
- AuthAPI key in header Authorization
Path parameters
useridstring required
userid, or email
Query parameters
account_idstring
Your Lytics account ID.
Request body
Example request
{
"password": "abc"
}Response
Created
Example response
{
"data": {
"account_id": "4f7b175bdba058fc092357a6",
"aid": 122,
"created": "2014-08-04T21:18:20.124Z",
"updated": "2014-08-04T21:18:20.124Z",
"email": "bill.jenkins@lytics.io",
"id": "120642b03a2d54551e637f56cbf61b73",
"name": "Bill Jenkins",
"accounts": [
{
"aid": 122,
"account_id": "4f7b175bdba058fc092357a6",
"granted_by": "500418690088145",
"roles": [
"api",
"segments",
"admin"
],
"created": "2014-08-04T21:18:20.124Z",
"updated": "2014-08-04T21:18:20.124Z"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.