Skip to main content
POST
/
pet
/
{petId}
JavaScript
import Dasdk from 'dasdk';

const client = new Dasdk({
  apiKey: 'My API Key',
});

await client.pet.updateByID(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