HTTP DELETE

Learn how to create action methods for deleting data via JSON Web APIs.

DELETE

To implement HTTP DELETE, you will create an action method and call it DeleteUser(). It will take an id of type integer as an input parameter. You will locate and delete the record with id equal to the one passed as an argument.

Code snippet

Get hands-on with 1200+ tech skills courses.