PUT /v1/engagement/env

Move engagement between environments.

Parameters

  • engagementId: ID of engagement to be modified
  • env: Which environment to set the engagement to. Valid values: Production,Stage,QA,Integration (case insensitive)
application/json

Body Required

Engagement Environment Change Request

  • engagementId string Required

    ID of engagement to modify

  • env string Required

    Values are Production, Stage, QA, or Integration.

Responses

  • 200 application/json

    Success

    Hide response attributes Show response attributes object
    • errors array[string]
    • status integer(int32)
  • 400

    Bad request

  • 401

    Unauthorized or bad API Key

  • 404

    Account not found

  • 429

    Rate limit exceeded

PUT /v1/engagement/env
curl \
 --request PUT 'https://api.aptrinsic.com/v1/engagement/env' \
 --header "Content-Type: application/json" \
 --data '{"engagementId":"string","env":"Production"}'
Request examples
{
  "engagementId": "string",
  "env": "Production"
}
Response examples (200)
{
  "errors": [
    "string"
  ],
  "status": 42
}