Section: Resource-oriented routes

Delete a resource

http
http
DELETE /users/{userId}
Explanation

DELETE removes a resource or marks it deleted. Many APIs return `204 No Content` on success.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Resource-oriented routes
Fetch a single resource
Read one user by identifier.
OpenIn sheethttpsame section
List a collection
Fetch a list of users.
OpenIn sheethttpsame section
Create a resource
Create a new user in the collection.
OpenIn sheethttpsame section
Replace a resource
Replace the full representation.
OpenIn sheethttpsame section
Partially update a resource
Modify only selected fields.
OpenIn sheethttpsame section
Nested child resource
Access a child collection under a parent resource.
OpenIn sheethttpsame section