Vegazap
  1. Sample APIs
Vegazap
  • Comece por aqui
  • Autenticação
  • Códigos HTTP das respostas
  • Canais de suporte
  • Sample APIs
    • Find pet by ID
      GET
    • Add a new pet to the store
      POST
    • Update an existing pet
      PUT
    • Deletes a pet
      DELETE
    • Finds Pets by status
      GET
  1. Sample APIs

Deletes a pet

DELETE
/pet/{petId}
pet

Requisição

Parâmetros Path
petId
string 
requerido
Pet id to delete
Parâmetros Header
api_key
string 
opcional

Exemplos de Requisição

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE '/pet/' \
--header 'api_key;'

Respostas

🟢200OK
application/json
Body
code
integer 
requerido
>= 0<= 0
Exemplo
{
    "code": 0
}
Página anterior
Update an existing pet
Próxima página
Finds Pets by status
Built with