POST
/
assets
/
{id}
/
versions
/
{versionId}
/
archive
curl --request POST \
  --url https://api.posta.co/assets/{id}/versions/{versionId}/archive \
  --header 'X-Api-Key: <api-key>'
This response does not have an example.

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

202
_mintlify/placeholder

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