Adaptive triggers
Update an adaptive trigger
Update a single adaptive trigger.
Authorization
ApiKey read, writeAuthorization<token>
In: header
Scope: read, write
Path Parameters
projectKey*string
environmentKey*string
triggerID*string
Format
uuidRequest Body
application/json
Properties
1 <= propertiesname?string
task?
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v2/projects/string/environments/string/adaptive-triggers/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{ "task": { "instructions": [ { "variationId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "kind": "updateFallthroughVariationOrRollout", "ruleId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91" }, { "variationId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "kind": "updateFallthroughVariationOrRollout", "ruleId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91" } ] }, "name": "name" }'{ "resourceKind": "flag", "createdAt": 6, "task": { "instructions": [ { "variationId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "kind": "updateFallthroughVariationOrRollout", "ruleId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91" }, { "variationId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "kind": "updateFallthroughVariationOrRollout", "ruleId": "046b6c7f-0b8a-43b9-b35d-6489e6daee91" } ] }, "resourceKey": "resourceKey", "name": "name", "id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91", "triggerSource": { "alertId": 0, "type": "observabilityAlert" }, "enabled": true, "updatedAt": 1}