validateCredentials
- Home
- Accounts & Sessions
- User
- validateCredentials
validateCredentials
Validates a user’s login credentials.
Parameters
Name | Description |
node_id optional | Node ID |
domain optional | Domain |
user_id optional | User ID |
username optional | Username |
password required | Password |
Request Syntax
https://services.onesite.com/1/user/validateCredentials.json?username=onesitedemo&password=ysen1a84&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 |
{ "code":100, "message":"Validate credentials success.", "content":{ "user_id":229928503, "domain":"onesitedemo.com" } } |
Service Information
Service | user |
Method | validateCredentials |
Type | REST |
Response Types | JSON, XML |