Skip to main content
POST
/
assets
/
{id}
/
versions
/
{versionId}
/
archive
Archive asset version
curl --request POST \
  --url https://api.posta.co/assets/{id}/versions/{versionId}/archive \
  --header 'X-Api-Key: <api-key>'
{
  "type": "<string>",
  "title": "<string>",
  "detail": "<string>",
  "status": 400,
  "errors": {}
}
Archived asset versions cannot be edited, only deleted or cloned ones can.

Authorizations

X-Api-Key
string
header
required

Headers

Idempotency-Key
string

Unique idempotency key for each request (e.g., V4 UUID).

Path Parameters

id
string
required

The unique identifier of the asset. Format: 'ast_' followed by alphanumeric characters.

versionId
string
required

The unique identifier of the asset version to archive. Format: 'astvs_' followed by alphanumeric string.

Response

The request has been accepted for processing, but processing has not yet completed.

Last modified on December 23, 2025