From bf312cc1d109f19e6f4ea8e4a588a2770810b3cd Mon Sep 17 00:00:00 2001 From: Iglocska Date: Wed, 2 Nov 2016 12:00:02 +0100 Subject: [PATCH] added user delete API --- automation/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/automation/README.md b/automation/README.md index 096fd69..eba98ec 100644 --- a/automation/README.md +++ b/automation/README.md @@ -1206,6 +1206,12 @@ https:///admin/users/edit/[user id] Only the fields POSTed will be updated, the rest is left intact. To view all possible parameters, simply send a GET request to the above URL. +You can also delete users by POSTing to the below URL, but keep in mind that disabling users (by setting the disabled flag via an edit) is always prefered to keep user associations to events intact. + +~~~~ +https:///admin/users/delete/[user id] +~~~~ + # Automation using PyMISP PyMISP is a Python library to access MISP platforms via their REST API.