My Project
  1. Sample APIs
My Project
  • 🐶 Walk through Apidog
  • Sample APIs
    • sample1
      • sample2
        • sample3
          • ouyb8yboubi7yb7by8
          • sample4
            • Untitled API
        • Untitled API
      • Untitled API
      • Untitled API
    • Find pet by ID
      GET
    • Add a new pet to the store
      POST
    • Update an existing pet
      PUT
    • Deletes a pet
      DELETE
    • Finds Pets by status
      GET
  • Untitled API
    POST
  1. Sample APIs

Update an existing pet

Prod Env
https://prod.your-api-server.com
Prod Env
https://prod.your-api-server.com
PUT
/pet
pet

Request

Body Params application/json
object {0}
Example
{}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://prod.your-api-server.com/pet' \
--header 'Content-Type: application/json' \
--data-raw '{}'

Responses

🟠405Validation error
application/json
Body
object {0}
Example
{}
🟢200OK
🟠404Record not found
Previous
Add a new pet to the store
Next
Deletes a pet
Built with