Skip to main content
PUT
/
v1
/
ui
/
providers
/
environment
Switch provider environment
curl --request PUT \
  --url https://api.example.com/v1/ui/providers/environment \
  --header 'Content-Type: application/json' \
  --data '
{
  "environment": "sandbox",
  "copyProducts": true,
  "confirmProductCopyDecision": true
}
'

Body

application/json
environment
enum<string>
required
Available options:
sandbox,
live
copyProducts
boolean
confirmProductCopyDecision
boolean

Response

Environment switched successfully