POST
/
plants
curl --request POST \
  --url http://sandbox.mintlify.com/plants \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "tag": "<string>",
  "id": 123
}'
{
  "name": "<string>",
  "tag": "<string>"
}

Authorizations

Authorization
string
headerrequired

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

Body

application/json
name
string
required

The name of the plant

tag
string

Tag to specify the type

id
integer
required

Identification number of the plant

Response

200 - application/json
name
string
required

The name of the plant

tag
string

Tag to specify the type