Transform Rule Modify Request Header Variable Api Request

I am trying to fetch a variable from a modify request header I created, the url I am using is https://api.cloudflare.com/client/v4/zones/{zone_id}/rulesets/{ruleset_id} with zone_id being the zone_id of my website, and ruleset_id being the value of the string of characters I get in my browser when I click on the specific rule I created.

Error message I get,
  "result": null,
  "success": false,
  "errors": [
    {
      "message": "not found"
    }
  ],
  "messages": null
}

Not sure if this applies to the worker category but couldn't find another category that applied better.
Was this page helpful?