Saltar para o conteúdo principal
PATCH
/
plants
/
{id}
cURL
curl --request PATCH \
  --url http://sandbox.mintlify.com/plants/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "id": 123,
  "tag": "<string>"
}
'
{
  "name": "<string>",
  "tag": "<string>"
}

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Corpo

application/json

Plant to patch to the store

name
string
obrigatório

The name of the plant

id
integer<int64>
obrigatório

Identification number of the plant

tag
string

Tag to specify the type

Resposta

plant response

name
string
obrigatório

The name of the plant

tag
string

Tag to specify the type