# Zeitkorrektur zurückziehen

`PATCH https://{tenant}.stamp.eu/rest/employees/{employee}/working_time/withdraw`

Self-service:
the employee retracts their own still-pending correction for a day.
Managers do not use this (they approve/reject instead)

## Pfadparameter

| Name | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `employee` | string | ja | The employee ID |

## Request-Body

| Feld | Typ | Pflicht |
| --- | --- | --- |
| `date` | string | ja |

## Antworten

### 200: Pending corrections were never applied to the overtime account, so no
recalculation is needed (mirrors reject()).

| Feld | Typ | Pflicht |
| --- | --- | --- |
| `message` | string | ja |
| `deleted` | beliebig | ja |

### 401: Unauthenticated

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `message` | string | ja | Error overview. |

### 403: An error

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `message` | string | ja | Error overview. |

### 404: Not found

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `message` | string | ja | Error overview. |

### 422: Validation error

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `message` | string | ja | Errors overview. |
| `errors` | object | ja | A detailed description of each field that failed validation. |
