Archive an existing reporting unit

delete/reportingUnit

Request

Request body

organizationIdstring

organization ID

reportingUnitIdstring

reporting unit UUID

refundboolean

Whether to refund the area used by this reporting unit. Only valid for non-versioned reporting units.

Example request

{
  "organizationId": "12341234-1234-1234-1234-123412341234",
  "reportingUnitId": "12341234-1234-1234-1234-123412341234",
  "refund": true
}

Response

Success

messagestring

message

Example response

{
  "message": "Site deleted"
}

Changes

No recorded changes to this operation across all 1 revision of this API.