Skip to main content

Archive a milestone

Moves a milestone to archive. Can be restored later.

Parameters

No parameters.

Returns

Returns the archived milestone object.

post
/api/milestones/{id}/archive
curl -X POST https://{workspace}.kitchen.co/api/milestones/{id}/archive \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-Requested-With: XMLHttpRequest' \
-H 'Authorization: Bearer {API_KEY}'
Response
{
"archived_at": "2024-08-20T09:34:32.000Z",
"closed_at": null,
"created_at": "2024-08-20T09:34:32+00:00",
"description": "Aperiam earum saepe consequuntur aut.",
"due_date": "2024-08-27T00:00:00+00:00",
"id": "mst_9fbd4636814ff5d5ae7a23f0",
"start_date": "2024-08-20T00:00:00+00:00",
"status": "open",
"title": "Adipisci doloribus eos possimus reprehenderit.",
"updated_at": "2024-08-20T09:34:32+00:00",
"visibility": "internal"
}