POST api/enableuser?userID={userID}&active={active}
Enable/Disable an existing user in Spinternet
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userID | integer |
Required |
|
| active | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
JsonResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| StatusCode |
Http StatusCode of Response |
HttpStatusCode |
None. |
| Message |
Message of the response |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"StatusCode": 100,
"Message": "sample string 1"
}
application/xml, text/xml
Sample:
<JsonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/fhlbi_api.API"> <Message>sample string 1</Message> <StatusCode>Continue</StatusCode> </JsonResponse>