Jump to Content
Home
Guides
Recipes
API Reference
Changelog
Discussions
Default
Log In
API Reference
Log In
Moon (Dark Mode)
Sun (Light Mode)
Default
Home
Guides
Recipes
API Reference
Changelog
Discussions
Deletes a pet
JUMP TO
Developer Dashboard
Getting Started
Authentication
Owlbert Audio Guides
Podcast API
Server variables
Global
Global servers + variables
post
Operation
Operation-level servers + variables
post
Path
Path-common level operation servers
put
Path-common level and operation-level operation servers
put
Swagger Petstore
pet
uploads an image
post
Add a new pet to the store
post
Update an existing pet
put
Finds Pets by status
get
Finds Pets by tags
get
Find pet by ID
get
Updates a pet in the store with form data
post
Deletes a pet
del
store
Place an order for a pet
post
Find purchase order by ID
get
Delete purchase order by ID
del
Returns pet inventories by status
get
user
Creates list of users with given input array
post
Creates list of users with given input array
post
Get user by user name
get
Updated user
put
Delete user
del
Logs user into the system
get
Logs out current logged in user session
get
Create user
post
The Owen Wilson Wow API
wow
Random "Wow"
get
Ordered "Wow"
get
metadata
All Movies
get
All Directors
get
Powered by
Deletes a pet
delete
https://petstore.swagger.io/v2/pet/
{petId}
Language
Shell
Node
Ruby
PHP
Python
Credentials
OAuth2
OAuth2
Bearer
URL
Base URL
https://petstore.swagger.io/v2
/pet/{petId}
Response
Click
Try It!
to start a request and see the response here!