Disconnect Command

The controller also provides a command for terminating user TCP (Transmission Control Protocol) connections from the AP (Access Point).

In other words, the disconnect command (RequestType=Disconnect) changes the status of the UE from authorized to unauthorized and also disassociates the UE from the AP.

{
 “Vendor”: “ruckus”,
 “RequestUserName”: "myUserName"
 “RequestPassword”: “myPassword”,
 “APIVersion”: “1.0”,
 “RequestCategory”: “UserOnlineControl”,
 “RequestType”: “Disconnect”, 
 “UE-IP”: “ENC12bc24c4777703327f2e0aabbf6b9f9e”,
 “UE-MAC”: “ENCCDD319C6A476FA7127DF1FB80A63CD30ADC5E47C3DBE2157”
}

The table lists the controller response.

Controller responses to a disconnect command

Response Type Possible Responses
Normal response
  • 200, OK
  • 100, Client unauthorized: Response if the user is already unauthorized
Service Error
  • 300, Not found: Response if the lookup fails with given UE- MAC or the UE-IP address.
  • 400, Internal server error: Response when an controller internal error occurs.
General error
  • 302, Bad request: Response if the JSON request is not well-formed.
  • 303, Version not supported: Response if there is a version mismatch.
  • 304, Command not supported: Response if the request type is not supported.
  • 305, Category not supported: Response if the request category not supported.
  • 306, Wrong request password: Response if the request password is mismatched.