# Clear a request approval `POST /api/v1/presubscriptions/{id}/unapprove` Clears the approval timestamp on a request. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Presubscriptions → Write**. ## Headers - `X-Sport-Id` (integer, required) — The sport ID from [List sports](/api/sports/list.md). Use the sport the record belongs to. ## Path parameters - `id` (integer, required) — ID of the registration request. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request POST \ --url "https://api.asdincloud.com/api/v1/presubscriptions/${ID:?Set ID}/unapprove" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "X-Sport-Id: ${SPORT_ID:?Set SPORT_ID}" ``` ## Response **200 OK** Returns the request with a null approval timestamp. Previously created records remain linked. Example with fictional data and selected fields. ```json { "message_key": "entities.presubscription.messages.unapproved_successfully", "data": { "id": 34, "sport_id": 3, "request_type": "athlete", "form_id": 21, "athlete_id": 42, "staff_id": null, "input": { "athlete.firstname": "Alex", "athlete.surname": "Example" }, "approved_at": null, "verified_at": null, "enrollment_scope": "seasonal", "target_season_label": "2026/2027" } } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `404` — The requested record was not found. - `422` — One or more fields failed validation.