# Neuen Fragebogen-Link erzeugen

`POST https://{tenant}.stamp.eu/rest/personnel_questionnaires/{questionnaire}/rotate_link`

„Neuen Link erzeugen“: the old link stops working at once

## Pfadparameter

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

## Antworten

### 200: `PersonnelQuestionnaireLinkResource`

| Feld | Typ | Pflicht |
| --- | --- | --- |
| `data` | object | ja |
| `data.url` | string | ja |
| `data.expires_at` | string | ja |
| `data.link_expired` | boolean | ja |
| `data.sent` | boolean | ja |

### 401: Unauthenticated

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

### 403: Authorization error

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

### 404: Not found

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