Skip to main content
PUT
/
plants
/
{id}
cURL
curl --request PUT \
  --url http://sandbox.mintlify.com/plants/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "id": 123,
  "tag": "<string>"
}
'
This response has no body data.
更新

Authorizations

Authorization
string
header
required

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

Path Parameters

id
integer<int64>
required

ID of plant to delete

Body

application/json

Plant to add to the store

name
string
required

The name of the plant

id
integer<int64>
required

Identification number of the plant

tag
string

Tag to specify the type

Response