otlub.iq
HomeLink
Multiple Menus
  • Link1
  • Link2
HomeLink
Multiple Menus
  • Link1
  • Link2
  1. Sample APIs
  • Start your Apidog journey
  • Sample APIs
    • 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
  • cognito user auth
    • /login
      POST
    • /signup
      POST
  1. Sample APIs

Update an existing pet

PUT
/pet

Request

Body Params application/json

Example
{}

Request Code 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 '/pet' \
--header 'Content-Type: application/json' \
--data-raw '{}'

Responses

🟠405Validation error
application/json
Body

Example
{}
🟢200OK
🟠404Record not found
Modified at 2025-02-06 21:47:00
Previous
Add a new pet to the store
Next
Deletes a pet
Built with