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
Header Params
api_key
string
optional
Responses
Modified at 2025-03-24 11:28:35