Deletes an administrative profile from the database.

 

Request

Method

URL

POST

/smserver/smsadm.DeleteAdmin

RAW

POST /smserver/smsadm.DeleteAdmin HTTP/1.1

Cache-Control: no-cache

Connection: Keep-Alive

Pragma: no-cache

Content-Type: application/json; charset=UTF-8

Accept: */*

Authorization: Bearer XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

 

[

{

           "Vserver" : "default",

           "AUName" : "jolly"

}

]

Explained

Deletes an admin profile from a certain virtual server.

 

Necessary fields:

vserver: the name of the virtual server

AUName : the username of the admin profile to be deleted

 

Response

Method

URL

RAW

Accept-Encoding: synlz,gzip

Content-Type: application/json; charset=UTF-8

 

 

{"result":[

   {

       "Result" : 1

   },

],"id":7721}

Explained

Result:

  1 = success

  any other value different from 1 = error

 

ResultMsg: a friendly message (success or error message) explaining what happened