1. 企业信息
BrazilScope Docs
  • Overview
  • 开发指南
    • 快速开始
    • 更新日志
  • 企业信息
    • 企业搜索
      GET
    • 更新宠物
      PUT
    • 删除宠物
      DELETE
    • 创建宠物
      POST
    • 列出宠物
      GET
    • 上传宠物图片
      POST
  1. 企业信息

删除宠物

DELETE
/pets/{id}
通过唯一 ID 删除宠物。

请求参数

Authorization
OAuth 2.0
Implicit
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
Authorize URL: https://petstore.swagger.io/oauth/authorize
Scopes:
read:pets-read your pets
write:pets-modify pets in your account
or
Path 参数

Header 参数

返回响应

🟢200OK
application/json
宠物删除成功。
Bodyapplication/json

🟢204No Content
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://brazilscope.org/pets/1' \
--header 'api_key: apikey-xxxxx'
响应示例响应示例
{}
修改于 2026-10-06 13:44:00
上一页
更新宠物
下一页
创建宠物
Built with