Delete User API
This API will allow admin to delete users.
Syntax
For XML Response:
https://[HOST]:[PORT]/AppManager/xml/Users/delete?apikey=[ API Key ]&userId=[id]
[ OR ]
https://[HOST]:[PORT]/AppManager/xml/Users/delete?apikey=[ API Key ]&userName=[name]
For JSON Response:
https://[HOST]:[PORT]/AppManager/json/Users/delete?apikey=[ API Key ]&userId=[id]
[ OR ]
https://[HOST]:[PORT]/AppManager/json/Users/delete?apikey=[ API Key ]&userName=[name]
Supported HTTP methods: POST
Allowed roles: Administrator
Request Parameters
The parameters involved in the API request are described below:
Field |
Description |
userId |
ID of the users to be deleted. The user IDs should be comma separated. |
userName |
The user name of the user to be deleted. If 'userId' parameter is provided, this parameter will be ignored. |
Sample Request
https://apm-prod-server:8443/AppManager/xml/Users/delete?apikey=aaaaaabbbbbbccccccddddddeeeeee&userId=12345
[ OR ]
https://apm-prod-server:8443/AppManager/xml/Users/delete?apikey=aaaaaabbbbbbccccccddddddeeeeee&userName=uname