Skip to main content
POST
/
entities
/
{entity_id}
/
migration
/
cutover
/
swap
Emit cutover swap operator commands
curl --request POST \
  --url https://api.arcuserp.com/v1/entities/{entity_id}/migration/cutover/swap \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "snapshot_id": "<string>",
  "freeze_token": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "lambda_alias_target_version": "<string>"
}
'
{
  "object": "cutover_swap_initiated",
  "entity_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "swap_emitted_at": "2023-11-07T05:31:56Z",
  "cutover_log_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "snapshot_id": "<string>",
  "env": "<string>",
  "instructions": {
    "title": "<string>",
    "lambda_alias_swap": "<string>",
    "dns_flip": "<string>",
    "cognito_swap": "<string>",
    "operator_confirms": "<string>"
  }
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

API key issued per entity via Settings > Developers > API Keys. Each key carries scopes (e.g. orders:read, products:write). Bearer token format: Authorization: Bearer ark_live_ent_Test keys use ark_test_ent_. Both are issued per entity
via Settings > Developers > API Keys.

Path Parameters

entity_id
string<uuid>
required

Body

application/json
snapshot_id
string
required

The snapshot_id from POST .../snapshot.

freeze_token
string<uuid>
required

The freeze_token confirming the entity is still frozen.

lambda_alias_target_version

Optional specific Lambda version number to target in rollback command.

Response

Swap command list emitted

Operator command list returned by cutover/swap endpoint.

object
enum<string>
Available options:
cutover_swap_initiated
entity_id
string<uuid>
swap_emitted_at
string<date-time>
cutover_log_id
string<uuid>
snapshot_id
string
env
string
instructions
object

Operator commands to paste (do NOT auto-execute).