Delete a Planting

< All Topics
image_pdfDownload as PDF

The aWhere API only references the most recent planting when calculating agronomics and running models, but if you want to keep your planting records clean for reporting and historical tracking purposes you can delete errant or incorrect plantings.

API Request

API Endpoints

▶ HTTP VERBS AND URIS

DELETE /v2/agronomics/fields/{fieldId}/plantings/{plantingId}
DELETE /v2/agronomics/fields/{fieldId}/plantings/current
  • Deletes the planting.
  • Use current instead of {plantingId} as a short cut for updating only the most recent planting in a field.

▶ PARAMETERS

PARAMETERDESCRIPTIONVALID VALUES
{fieldId}The ID of the field that you used when you created it.A string
{plantingID}The ID of the planting issued by aWhere’s API with the planting was created.A string

Query String Parameters

None.

Request Body

None.

HTTP Headers

HEADER NAMEREQUIRED VALUE
AuthorizationBearer {token} (see Authentication)

API Response

Response HTTP Status Codes and Headers

This API returns standard HTTP status codes and headers for aWhere APIs. No additional headers are returned. On a successful delete the API will return only a status code of 204 No Content.

Response Body

None.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents