Legacy | Delete User

Restriction: This information no longer refers to the latest product version but may still be relevant if you are working with an older version.

When deleting users, their record is marked as deleted and not actually deleted, and the user still appears in the list of users.

Request syntax

Copy
https://mycloud.perfectomobile.com/services/users/<user-id>?operation=delete&securityToken=value[&optionalParameter=value] 

Parameters

Name Type Default Description
securityToken* string
A unique cryptographic key assigned to an authorized user.
user string

Deprecated. The name of the user running the operation.

Important: All REST API commands require authentication through the Perfecto security token. See also Authentication in new APIs.
password string

Deprecated. The password of the user.

Important: All REST API commands require authentication through the Perfecto security token. See also Authentication in new APIs.
responseFormat string json The format of the response:  json, xml

* Mandatory parameter

Response

Name Description
status success if the operation completed successfully; otherwise failure.

Example

This example shows the request for deleting user JohnSmith.

Copy

Request

https://mycloud.perfectomobile.com/services/users/JohnSmith?operation=delete&securityToken=<your_token> 
Copy

JSON response

{
    "status":"success"}