Delete User

<< Click to Display Table of Contents >>

Navigation:  Managing Syncplify.me Server! > REST API > Admin API > User Management >

Delete User

Deletes a user profile.

 

Request

Method

URL

POST

/smserver-default/sms.DeleteUser

RAW

POST /smserver-default/sms.DeleteUser 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

 

[

{

           "AUName" : "pippo"

       }

]

Explained

Deletes an existing user (by username).

 

AUName: username of the user profile you wish to delete (must exist)

 

Response

Method

URL

RAW

Accept-Encoding: synlz,gzip

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

 

 

{"result":[

{

       "Result" : 1

   }

],"id":772674711}

Explained

Result: 1 means that the user profile was successfully deleted, any value different from 1 represents an error.