Skip to main content

Archive an embed

Moves an embed to archive. Can be restored later.

Parameters

No parameters.

Returns

Returns the archived embed object.

post
/api/embeds/{id}/archive
curl -X POST https://{workspace}.kitchen.co/api/embeds/{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-03-07T07:47:02+00:00",
"created_at": "2024-03-12T12:54:41+00:00",
"id": "pe_12b3c33d7f42bcbd1b373ff9",
"title": "The embed title",
"updated_at": "2024-03-12T12:54:41+00:00",
"url": "https://example.com",
"visibility": "internal"
}