# Update EventRules Endpoint to update an eventRule in a portfolio. Must provide a portfolio unique identifier and a country code in the URL of the PUT request. The Body of the request must contain the number of the eventRule you want to update, with an parameter. Some event rules may also contain specific parameters, which can be set with , and . parameters. Get the above information by calling the List All eventRules endpoint. It is recommended that any changes made to the are verified using the List Portfolio Event Rules Endpoint after the PUT call has been made. Endpoint: PUT /monitoring/portfolios/{portfolioId}/eventRules/{countryCode} Version: 1.10.9 Security: bearerToken ## Path parameters: - `portfolioId` (number, required) The unique identifier of the portfolio, obtained from . - `countryCode` (string, required) Country code to show events for ## Request fields (application/json): - `ruleCode` (integer, required) The unique ID of the EventRule - `isActive` (integer, required) Flag to show if EventRule is active or not. 0 for false, 1 for true. - `param0` (any) - `param1` (any) - `param2` (any) ## Response 204 fields (application/json): - `message` (string) ## Response 400 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected ## Response 401 fields (application/json): - `error` (string) ## Response 403 fields (application/json): - `message` (string) Example: "Access forbidden" ## Response 404 fields (application/json): - `correlationId` (string) A unique ID assigned to this request. - `message` (string) - `details` (string) Provides further information on why the request was rejected