AI Assistant

How can I help you today?

PetsDelete Pets Petid
Pets

DELETE /pets/{petId}

Remove a pet from the store

curl -X DELETE "https://api.petstore.example.com/v1/pets/123" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{}
DELETE
/pets/{petId}
DELETE
Security Scheme
Bearer Tokenstring
Required

JWT token obtained from the login endpoint

JWT token obtained from the login endpoint
path
petIdinteger
Required

ID of the pet to delete

Format: int64
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT token obtained from the login endpoint

Path Parameters

petIdinteger
Required

ID of the pet to delete

Responses