Legacy | Deactivate User
Deactivates the user specified by and sets the status property to Inactive.
Request syntax
Copy
https://mycloud.perfectomobile.com/services/users/<userId>?operation=deactivate&user=value&password=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 for 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 to use for 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 deactivating user JohnSmith.
Copy
Request
https://mycloud.perfectomobile.com/services/users/JohnSmith?operation=deactivate&securityToken=<your_token>