Deletes an iteration. Links to cards that were part of the iteration are deleted too and cannot be restored. The iteration gets the removed status. The deleted iteration is returned in the response.
| Name | Type | Reference |
|---|---|---|
| space_uidrequired | string | Space UID |
| idrequired | string | Iteration ID |
| Name | Value |
|---|---|
| Authorization | Bearer <token> |
| Content-Type | application/json |
| Name | Type | Constraints | Description |
|---|---|---|---|
new_iteration_id | string | null | ID of the iteration to move cards to when this iteration is removed. Must belong to the same space and have the planned or active status |
| Description | Response type | Example |
|---|---|---|
| Success | Object |
| Name | Type | Description |
|---|---|---|
| id | string | Iteration ID (UUID) |
| space_uid | string | UID of the space the iteration belongs to |
| title | string | Iteration title |
| goal | string | Iteration goal |
| status | string | Iteration status, removed after deletion |
| creator_uid | string | UID of the user who created the iteration |
| updater_uid | string | UID of the user who last updated the iteration |
| start_date | string | Start date, ISO 8601 format |
| finish_date | string | Planned finish date, ISO 8601 format |
| actual_finish_date | string | Actual finish date, ISO 8601 format |
| sort_order | number | Sort order of the iteration within the space |
| data | object | Iteration statistics, present for active and closed iterations |
| moved_cards | array of objects | Cards moved to another iteration when this iteration was removed |
| created | string | Creation timestamp |
| updated | string | Last update timestamp |
| Description | Response type | Example |
|---|---|---|
| Invalid token | String |
A schema has not been defined for this response code.
| Description | Response type | Example |
|---|---|---|
| Forbidden | Response body does not exist |
A schema has not been defined for this response code.
| Description | Response type | Example |
|---|---|---|
| Iteration not found | Response body does not exist |
A schema has not been defined for this response code.
Path Parameters
1 curl --request DELETE \
2 --url 'https://example.kaiten.ru/api/latest/spaces/{space_uid}/iterations/{id}' \
3 --header 'Accept: application/json' \
4 --header 'Content-Type: application/json'
5 Response
ClickTry It!to start a request and see the response here!