Download PDF
  1. Sample APIs
Download PDF
  • [DOWNLOAD] PDF It's a Love Story by Annabel Monaghan
  • [DOWNLOAD] PDF The Original Daughter by Jemimah Wei
  • [DOWNLOAD] PDF The Thrashers by Julie Soto
  • [DOWNLOAD] PDF Heart of the Sun by Mia Sheridan
  • [DOWNLOAD] PDF What Happens in Amsterdam by Rachel Lynn Solomon
  • [DOWNLOAD] PDF The Memory Collectors by Dete Meserve
  • [DOWNLOAD] PDF When Devils Sing by Xan Kaur
  • [DOWNLOAD] PDF The Starving Saints by Caitlin Starling
  • [DOWNLOAD] PDF The Retirement Plan by Sue Hincenbergs
  • [DOWNLOAD] PDF Dying to Meet You by Sarina Bowen
  • 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
  1. Sample APIs

Deletes a pet

DELETE
/pet/{petId}
pet
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE '/pet/' \
--header 'api_key;'
Response Response Example
{
  "code": 0
}

Request

Path Params
petId
string 
required
Pet id to delete
Header Params
api_key
string 
optional

Responses

🟢200OK
application/json
Body
code
integer 
required
>= 0<= 0
Previous
Update an existing pet
Next
Finds Pets by status
Built with