{
  "algorithm": {
    "parameters": [
      {
        "name": "opportunityId",
        "type": "string"
      },
      {
        "name": "partnerId",
        "type": "string"
      }
    ],
    "statements": [],
    "typeReturn": "obj()",
    "variables": []
  },
  "routing": {
    "method": "PATCH",
    "parameters": [
      {
        "bind": "opportunityId",
        "in": "Path",
        "name": "opportunityId",
        "remarks": "opportunityId"
      },
      {
        "bind": "partnerId",
        "in": "Path",
        "name": "partnerId",
        "remarks": "partnerId"
      }
    ],
    "path": "/opportunity/{opportunityId}/partners/{partnerId}/deactivate",
    "remarks": "Deactivate Partner",
    "responses": [
      {
        "httpStatus": "200",
        "remarks": "OK"
      },
      {
        "errorName": "BadRequest",
        "httpStatus": "400",
        "remarks": "Bad request"
      },
      {
        "errorName": "NotFound",
        "httpStatus": "404",
        "remarks": "Not found"
      },
      {
        "errorName": "InternalServerError",
        "httpStatus": "500",
        "remarks": "Error"
      }
    ]
  }
}