Deactivate an automation rule
Stop a rule from firing. Rules are never deleted — a deactivated one keeps its run history, which is what tells you why something fired. Requires administrator access to the project. Use it when a rule should stop firing but its history should be kept.
Stop a rule from firing. Rules are never deleted — a deactivated one keeps its run history, which is what tells you why something fired. Requires administrator access to the project. Use it when a rule should stop firing but its history should be kept.
Authenticate as a user with a personal access token.
Send it as a bearer token in the Authorization header:
Authorization: Bearer <personal-access-token>Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.
In: header
Path Parameters
1 <= length1 <= lengthIdentifier of the automation rule.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/projects/string/string/automation-rules/string/deactivate"{ "id": "string", "name": "string", "active": true, "events": [ "build.completed" ], "conditions": [ { "type": "build-branch", "value": "string" } ], "actions": [ { "action": "string", "actionPayload": { "property1": null, "property2": null } } ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}Update an automation rule PUT
Replace an automation rule's definition. Requires administrator access to the project. The whole definition is replaced, so send the events, conditions and actions you want the rule to end up with. Use it when an existing rule should fire on different events, conditions or actions.
Create a build POST
Create a build and receive signed upload targets for its screenshots and Playwright traces. The response lists, for every file Snapvisor doesn't already have, a secure `postUrl` with `fields` (or a legacy `putUrl`) to upload it to. Supports single and parallel builds.