Properties

Remove a parcel from a property

Changed on

Removes one attached parcel. Paddocks that pointed at it have parcel_id cleared. Their rings and records stay. An assistant sends confirm true. Needs edit access. The response is the parcels still on the property, as plain JSON.

delete/properties/{property_id}/parcels/{id}

Request

  • Base URL
    https://api.purplegrain.com/api/v1
  • URL
    https://api.purplegrain.com/api/v1/properties/{property_id}/parcels/{id}
  • Auth
    HTTP bearer

Path parameters

property_idstring required
idstring uuid required

The stored parcel id, not the cadastral external_id.

Response

The parcels still attached to the property.

property_idstring uuid required

Example response

{
  "_meta": {
    "onboarding": {
      "skill": "pg-onboarding@1"
    }
  }
}

Changes