deleteUser #
Deletes a user and all their associate credentials.
Query Syntax #
HTTP #
URL: http://kuzzle:7512/users/<_id>[?refresh=wait_for]
Method: DELETE
Other protocols #
{
"controller": "security",
"action": "deleteUser",
"_id": "<kuid>"
}
Arguments #
_id
: user kuid to delete
Optional: #
refresh
: if set towait_for
, Kuzzle will not respond until the user deletion is indexed (default:"wait_for"
)
Response #
Returns the deleted kuid.
{
"status": 200,
"error": null,
"result": {
"_id": "<kuid>",
}
"action": "deleteUser",
"controller": "security",
"requestId": "<unique request identifier>"
}
Edit this page on Github(opens new window)