User Delete¶
To delete a user, call the URI http(s)://<qie_server>:<management_api_port>/user/delete with the following payload:
Base JSON Payload Definition
| Node | Description |
|---|---|
| userId | REQUIRED: The user id of the user to delete. Deleting the default 'admin' user or the management API user used to make this request is not allowed. |
| formatOutput | True if the response JSON should be formatted as human readable (default=false). |
The following response is received if the user was found and successfully deleted:
HTTP Status: 200
| Node | Description |
|---|---|
| message | This message indicates whether the user was deleted. |
If there is an error finding the user or deleting the user, then the following response is received:
HTTP Status: 400
Example curl command: