---
title: "Post Collection Exercise End Message"
method: POST
path: "/collection-exercises-end"
---

# Post Collection Exercise End Message

`POST /collection-exercises-end`

Endpoint to receive collection exercise end message, process the message and mark datasets for deletion
if dataset_guid is present in the message.

Parameters:
collection_end_data (CollectionExerciseEndData): The collection exercise end message body, containing the GUID
of the dataset to be deleted and the survey_id and period id to find the relevant dataset metadata for deletion.

This endpoint is currently not being used and is partially built without implementation of unhappy path

## Request body

- CollectionExerciseEndData
  - `survey_id` string, required
  - `period_id` string, required
  - `dataset_guid` string, nullable

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.net/office-of-national-statistics/apis/supplementary-data-service.md) · [All operations](https://skmtc.net/office-of-national-statistics/apis/supplementary-data-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/office-of-national-statistics/supplementary-data-service/revisions/9a87e51baf13/schema)
