curl -X DELETE 'https://www.wiseyield.co/api/v1/crop-library/user-crops/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee' \
-H "Authorization: Bearer $WISEYIELD_API_KEY"
Crop Library
Remove from shortlist
Soft-delete a user-crop shortlist entry.
DELETE
/
api
/
v1
/
crop-library
/
user-crops
/
{id}
curl -X DELETE 'https://www.wiseyield.co/api/v1/crop-library/user-crops/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee' \
-H "Authorization: Bearer $WISEYIELD_API_KEY"
DELETE https://www.wiseyield.co/api/v1/crop-library/user-crops/{id}
Authentication
Requires a key with thelibrary:write scope.
Path parameters
string
required
User-crop UUID.
Response
Returns204 No Content on success.
curl -X DELETE 'https://www.wiseyield.co/api/v1/crop-library/user-crops/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee' \
-H "Authorization: Bearer $WISEYIELD_API_KEY"
Errors
| Status | When |
|---|---|
400 INVALID_ID | {id} is not a valid UUID |
401 | Missing, malformed, expired, or revoked API key |
403 INSUFFICIENT_SCOPE | Key lacks library:write scope |
404 NOT_FOUND | User crop doesn’t exist, is already soft-deleted, or belongs to another user |
429 RATE_LIMIT_EXCEEDED | Per-user rate limit reached |
5xx | Server error |