Skip to main content

Partial Update Split Definition In Environment

Updates a Split Definition for a specific environment. For further examples on how to add the Update parameter, refer to the Split documentation.

Parameters

ParameterDescription
CommentA comment to add to the update action.
EnvironmentThe id or case sensitive name of the environment in which you want to partially update the split definition.
Split NameThe case sensitive name of the split for which you want to update the definition.
UpdateThe definition values to update, refer to the Split documentation for details.
WorkspaceThe id of the workspace from which you want a list of splits.

Example Output

{
"id": "691fbe60-c7a6-11ed-a05b-ca5db21a53fc",
"name": "test",
"environment": {
"id": "4e18d030-c755-11ed-9886-dea06841c80c",
"name": "Prod-Default"
},
"trafficType": {
"id": "4e10e0f0-c755-11ed-9886-dea06841c80c",
"name": "user"
},
"killed": false,
"treatments": [
{
"name": "on",
"description": ""
},
{
"name": "off",
"description": ""
}
],
"defaultTreatment": "off",
"baselineTreatment": "off",
"trafficAllocation": 100,
"rules": [],
"defaultRule": [
{
"treatment": "off",
"size": 100
}
],
"creationTime": 1679375431417,
"lastUpdateTime": 1679518343973,
"changeNumber": 1679518343974
}

Workflow Library Example

Partial Update Split Definition in Environment and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop