---
title: "Deletes a pet"
method: DELETE
path: "/pet/{petId}"
tags: ["pet"]
---

# Deletes a pet

`DELETE /pet/{petId}`

## Request

- Base URL: `/v3` (relative, and the document’s source URL is not known)
- URL: `/v3/pet/{petId}`
- Auth: OAuth 2
  - Implicit: `https://petstore.swagger.io/oauth/authorize`
  - Scopes: `write:pets`, `read:pets`

## Path parameters

- `petId` integer, required

## Headers

- `api_key` string

## Other responses

- `400`: Invalid pet value

---

[API](https://skmtc.dev/lightcast/apis/swagger-petstore-openapi-3-0.md) - [All operations](https://skmtc.dev/lightcast/apis/swagger-petstore-openapi-3-0/llms.txt) - [OpenAPI document](https://skmtc.dev/lightcast/apis/swagger-petstore-openapi-3-0/revisions/4f1f6cb5a0cb?raw)
