Set Environment for a Service
POST/projects/{project_id}/services/{service_id}/setEnvironment
Sets the environment type for the service.
Set Environment for a Service
curl http://localhost:8080/projects/$PROJECT_ID/services/$SERVICE_ID/setEnvironment \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $TIGER_CLOUD_API_KEY" \
-d '{
"environment": "PROD"
}'{
"message": "Action completed successfully."
}Returns Examples
{
"message": "Action completed successfully."
}