Open Context Protocol is live! 🚀 Read the launch post
deleteWorkflowTransitionRuleConfigurations

deleteWorkflowTransitionRuleConfigurations

Delete workflow transition rule configurations

Details

  • Method: PUT
  • Path: /rest/api/3/workflow/rule/config/delete
  • Operation ID: deleteWorkflowTransitionRuleConfigurations

Parameters

{
  "workflows": {
    "description": "The list of workflows with transition rules to delete.",
    "required": true,
    "location": "body",
    "type": "array"
  }
}

Response Schema

{
  "additionalProperties": false,
  "description": "Details of any errors encountered while updating workflow transition rules.",
  "properties": {
    "updateResults": {
      "description": "A list of workflows.",
      "items": {
        "additionalProperties": false,
        "description": "Details of any errors encountered while updating workflow transition rules for a workflow.",
        "properties": {
          "ruleUpdateErrors": {
            "additionalProperties": {
              "description": "A list of transition rule update errors, indexed by the transition rule ID. Any transition rule that appears here wasn't updated.",
              "items": {
                "description": "A list of transition rule update errors, indexed by the transition rule ID. Any transition rule that appears here wasn't updated.",
                "type": "string"
              },
              "type": "array",
              "uniqueItems": true
            },
            "description": "A list of transition rule update errors, indexed by the transition rule ID. Any transition rule that appears here wasn't updated.",
            "type": "object"
          },
          "updateErrors": {
            "description": "The list of errors that specify why the workflow update failed. The workflow was not updated if the list contains any entries.",
            "items": {
              "description": "An error specifying why the workflow update failed.",
              "type": "string"
            },
            "type": "array",
            "uniqueItems": true
          },
          "workflowId": {
            "additionalProperties": false,
            "description": "Properties that identify a workflow.",
            "properties": {
              "draft": {
                "description": "Whether the workflow is in the draft state.",
                "type": "boolean"
              },
              "name": {
                "description": "The name of the workflow.",
                "type": "string"
              }
            },
            "required": [
              "draft",
              "name"
            ],
            "type": "object"
          }
        },
        "required": [
          "ruleUpdateErrors",
          "updateErrors",
          "workflowId"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "updateResults"
  ],
  "type": "object"
}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('jira')

# Call this tool
result = await agent.call_tool('deleteWorkflowTransitionRuleConfigurations', {
    # Add required parameters here
})