Skip to main content
DELETE
/
api
/
v1
/
farms
/
{id}
/
fields
/
{fieldId}
/
blocks
/
{blockId}
curl -X DELETE 'https://www.wiseyield.co/api/v1/farms/11111111.../fields/88888888.../blocks/aaaaaaaa...' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY"
(no body)

Documentation Index

Fetch the complete documentation index at: https://docs.wiseyield.co/llms.txt

Use this file to discover all available pages before exploring further.

DELETE https://www.wiseyield.co/api/v1/farms/{id}/fields/{fieldId}/blocks/{blockId}

Authentication

Requires a key with the fields:write scope.

Path parameters

id
string
required
Farm UUID.
fieldId
string
required
Field UUID.
blockId
string
required
Block UUID.

Response

Returns 204 No Content on success. Cascade: any active block_plants under this block are also soft-deleted with the same deletedAt timestamp.
curl -X DELETE 'https://www.wiseyield.co/api/v1/farms/11111111.../fields/88888888.../blocks/aaaaaaaa...' \
  -H "Authorization: Bearer $WISEYIELD_API_KEY"
(no body)

Errors

StatusWhen
400 INVALID_IDAny path UUID is malformed
401Missing, malformed, expired, or revoked API key
403 INSUFFICIENT_SCOPEKey lacks fields:write scope
404 NOT_FOUNDFarm, field, or block doesn’t exist, is already soft-deleted, or belongs to another user
429 RATE_LIMIT_EXCEEDEDPer-user rate limit reached
5xxServer error