Skip to main content
POST
/
v1
/
apps
/
{app_id}
/
versions
/
{version}
/
restore
Restore a previous version
curl --request POST \
  --url https://api.mixpeek.com/v1/apps/{app_id}/versions/{version}/restore \
  --header 'Content-Type: application/json' \
  --data '
{
  "environment": "production"
}
'
{
  "app_id": "<string>",
  "version": 123,
  "deploy_id": "<string>",
  "environment": "<string>",
  "asset_prefix": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.mixpeek.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string

REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.

Examples:

"Bearer YOUR_API_KEY"

"Bearer YOUR_STRIPE_API_KEY"

Path Parameters

app_id
string
required
version
integer
required

Version number to restore

Body

application/json

Restore a previous version to an environment.

environment
enum<string>
default:production

Target environment to restore

Available options:
staging,
production

Response

Successful Response

app_id
string
required
version
integer
required
deploy_id
string
required
environment
string
required
asset_prefix
string
required