Function minerva_rest::controller::user::delete
source · [−]async fn delete(
tenant: String,
session: SessionInfo,
index: i32
) -> Result<Json<Message>, ErrorResponse>
Expand description
Route for removing a user altogether.
To use this route, use a DELETE request. The ID of the user to be updated should also be passed through the URL.
Upon success, returns a success message.