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

This makes the version published and sets the previously published version archived, if any.

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 publish. Format: 'astv_' followed by alphanumeric characters.

Response

200
_mintlify/placeholder

The request has succeeded.