{{{
"title": "UnsuspendUser",
"date": "5-3-2013",
"author": "Brent Heinz",
"attachments": []
}}}
Reactivate a user associated with a given account. Calls to this operation must include an authorization cookie acquired from the Logon operation.
REST: https://api.ctl.io/REST/User/UnsuspendUser/<format> (format = XML | JSON)
SOAP: https://api.ctl.io/SOAP/User.asmx?op=UnsuspendUser
Name |
Type |
Description |
Req. |
UserName |
String |
User name, which is could be their email address. |
Yes |
{
UserName": "user3@company.com"
}
<UserRequest><UserName>user3@company.com</UserName></UserRequest>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<UnsuspendUser xmlns="http://www.tier3.com/">
<request>
<UserName>user3@company.com</UserName>
</request>
</UnsuspendUser>
</soap12:Body>
</soap12:Envelope>
Name |
Type |
Description |
Success |
Boolean |
True if the request was successful, otherwise False. |
Message |
String |
A description of the result. The contents of this field does not contain any actionable information, it is purely intended to provide a human readable description of the result. |
StatusCode |
Int |
This value will help to identify any errors which were encountered while processing the request. The value of '0' indicates success, all non-zero StatusCodes indicate an error state. |
{"Success":true, "Message":"User unsuspended.", "StatusCode":0}
<APIResponse Success="true" Message="User unsuspended." StatusCode="0" />
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<UnsuspendUserResponse xmlns="http://www.tier3.com/">
<UnsuspendUserResult Success="true" Message="User unsuspended." StatusCode="0"/>
</UnsuspendUserResponse>
</soap:Body>
</soap:Envelope>
Status Code |
Description |
0 |
Request was successfully processed |
2 |
Unknown Error. An application error occurred processing your request, contact support to resolve the issue. |
100 |
Authentication Failed. You must logon to the API prior to calling this method. |
1704 |
Username Required. You must provide a valid user name when calling this method. |
1705 |
User Not Found. Provided user name does not exist. |