Skip to main content
PUT
Push a WordPress site environment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

site_id
string
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

Body

application/json
source_env_id
string
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

target_env_id
string
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

push_db
boolean
default:true
Example:

true

push_files
boolean
default:true
Example:

true

run_search_and_replace
boolean
default:true
Example:

true

push_files_option
enum<string>
default:ALL_FILES
Available options:
ALL_FILES,
SPECIFIC_FILES
Example:

"SPECIFIC_FILES"

file_list
string[]
Example:

Response

Pushing environment action started. Check MyKinsta for status

message
string
required
Example:

"Pushing environment in progress"

status
number
required
Example:

202

operation_id
string
Example:

"environments:push-54fb80af-576c-4fdc-ba4f-b596c83f15a1"