DELETE /plants/{id} to permanently remove a plant from the store. This action is irreversible.
Path parameters
The unique identifier of the plant to delete. Obtain this from the list or create endpoints.
Example request
Response
A successful deletion returns204 No Content with an empty body.
Error responses
| Status code | Description |
|---|---|
400 Bad Request | The id path parameter is not a valid integer. |
401 Unauthorized | The request is missing a valid Bearer token. |
404 Not Found | No plant with the given ID exists. |