Skip to main content
POST
/
pet
/
{petId}
JavaScript
import BeaverdockAPI from 'beaverdock-api';

const client = new BeaverdockAPI({
  apiKey: process.env['BEAVERDOCK_API_API_KEY'], // This is the default and can be omitted
});

await client.pet.updateWithFormData(0);

Authorizations

api_key
string
header
required

Path Parameters

petId
integer<int64>
required

ID of pet that needs to be updated

Query Parameters

name
string

Name of pet that needs to be updated

status
string

Status of pet that needs to be updated

Response

400

Invalid input