Not able to get rulesets for a zone

I am trying to get rule is for redirection rules in a zone.
Followed example in …/url-forwarding/single-redirects/terraform-example/ , but it returned account ruleset even with /zones/{zone_id}/rulesets. I’ve tried multiple real zone_id.