My Project
Sample APIs
Copy Page
My Project
Download {PDF} My Friends by Fredrik Backman
Download {PDF} The Knight and the Moth (The Stonewater Kingdom, #1) by Rachel Gillig
Download {PDF} The Tenant by Freida McFadden
Download {PDF} One Golden Summer by Carley Fortune
Download {PDF} Rewind It Back (Windy City, #5) by Liz Tomforde
Download {PDF} A Curse Carved in Bone (Saga of the Unfated, #2) by Danielle L. Jensen
Download {PDF} The Love Haters by Katherine Center
Download {PDF} The Names by Florence Knapp
Download {PDF} Parents Weekend by Alex Finlay
Download {PDF} The Devils by Joe Abercrombie
Download {PDF} Great Big Beautiful Life by Emily Henry
Download {PDF} Say You'll Remember Me by Abby Jimenez
Download {PDF} King of Envy (Kings of Sin, #5) by Ana Huang
Download {PDF} Fearless (The Powerless Trilogy, #3) by Lauren Roberts
Download {PDF} Wild and Wrangled (Rebel Blue Ranch, #4) by Lyla Sage
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
Sample APIs
Copy Page
Deletes a pet
DELETE
/pet/{petId}
Try it
Request
Request Example
Shell
JavaScript
Java
Swift
cURL
cURL-Windows
Httpie
wget
PowerShell
curl
--location
--request
DELETE
'/pet/'
\
--header
'api_key;'
Response
Response Example
{
"code"
:
0
}
Request
Path Params
Generate Code
petId
string
required
Pet id to delete
Header Params
Generate Code
api_key
string
optional
Responses
🟢
200
OK
application/json
Generate Code
Body
Generate Code
code
integer
required
>= 0
<= 0
Modified at
2025-05-03 06:41:45
Previous
Update an existing pet
Next
Finds Pets by status