v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-10-2916802.4 MB
🚰 Kitchen Sink

Patch request

The PATCH method is used to partially update an existing resource on the server.

Unlike PUT, PATCH only includes the changes that need to be made, rather than sending the entire resource representation.

It allows for modifying specific fields or properties of a resource.

Typical Usage:

PATCH requests are commonly used to make partial updates to a resource.

For example,

updating only the email address of a user, modifying specific attributes of an object, or applying incremental changes to a document.

patch/kitchen-sink/http-methods/patch

Response

Patch request

messagestring
statusCodenumber
successboolean

Example response

{
  "data": {
    "headers": {
      "accept": "*/*",
      "accept-encoding": "gzip, deflate, br",
      "cache-control": "no-cache",
      "connection": "keep-alive",
      "content-length": "0",
      "cookie": "accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NDg5NjI2ZGMyNjVmMGFhMmRiYjczYTQiLCJlbWFpbCI6IndhamUuc2h1YmhhbTExMTJAZ21haWwuY29tIiwidXNlcm5hbWUiOiJ3YWplc2h1YmhhbTIiLCJyb2xlIjoiQURNSU4iLCJpYXQiOjE2ODY3Mjc3MjAsImV4cCI6MTY4NjgxNDEyMH0.X7DSYAaqIFVtNxqDSYWW40NNoxu-npBh0Yo7dsPIfBg; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NDg5NjI2ZGMyNjVmMGFhMmRiYjczYTQiLCJpYXQiOjE2ODY3Mjc3MjAsImV4cCI6MTY4NzU5MTcyMH0.sesIJ2P7EqaauA8JbNFe-7vbWMhH7uhiPn25x4zUG0I",
      "host": "localhost:8080",
      "postman-token": "132a6fb0-68c7-43ec-b082-a697a3014c6d",
      "user-agent": "PostmanRuntime/7.32.2"
    },
    "method": "PATCH",
    "origin": "::ffff:172.27.0.3",
    "url": "http://localhost:8080/api/v1/kitchen-sink/http-methods/patch"
  },
  "message": "PATCH request",
  "statusCode": 200,
  "success": true
}