Section: Resource-oriented routes

Replace a resource

http
http
PUT /users/{userId}
Explanation

PUT is typically used when the client sends a full replacement representation and expects idempotent behavior.

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
List a collection
Fetch a list of users.
OpenIn sheethttpsame section
Create a resource
Create a new user in the collection.
OpenIn sheethttpsame section
Fetch a single resource
Read one user by identifier.
OpenIn sheethttpsame section
Partially update a resource
Modify only selected fields.
OpenIn sheethttpsame section
Delete a resource
Remove one user.
OpenIn sheethttpsame section
Nested child resource
Access a child collection under a parent resource.
OpenIn sheethttpsame section