Controller: Account Management: SuspendAccount
SuspendAccount
WARNING!:
Using it will cause unexpected behaviour for the desktop clients.
If you wish to (temporarily) remove access for a user, unassign or deactivate the license.
Suspending an account makes all the fileservers this account has inaccessible.
Syncing or using the MyNomadesk will not be possible anymore
Only a predefined server can execute this command (IP Authentication) or with authenticated AMS Token.
Authentication Methods
- With AMS username and password
| Input Parameter | Type | Description |
|---|---|---|
| Email* | String | Account Email address |
| Token | String | AMS security token |
| Output Parameter | Type | Description |
|---|---|---|
| Success | Boolean | True on success, False on failure |
*required
CURL EXAMPLE
curl -v 'https://secure.nomadesk.com/ctrller/api.php?Task=SuspendAccount&Email=account@nomadesk.com&Token=f8muiuc79u7kes7fr265t77001'
RESPONSE
<Response>
<Status>1</Status>
<Message></Message>
</Response>