updUserStatus
- Home
- Users & Groups
- SvcUsers
- updUserStatus
updUserStatus
Updates the status of a user. Status should be one of the following: warn, suspend, delete, active, or pending.
Parameters
Name | Description |
userID required | User id of the user who is being targeted. |
status required | The status of the user. |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcUsers?action=updUserStatus&userID=229928503&status=active&nodeID=188234&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 7 8 9 10 11 12 13 |
{ "service":"svcUsers", "action":"updUserStatus", "code":1, "message":"Success", "item":{ "1":{ "nodeID":188234, "userID":229928503, "status":"active" } } } |
Service Information
Service | svcUsers |
Method | updUserStatus |
Type | REST |
Response Types | JSON, XML |