#Custom Rules API ?

13 messages · Page 1 of 1 (latest)

steep marten
#

api docs are a bit of a mess

hazy solar
#

hmm you sure this is for Custom rules ? there's no parameters for custom rules id, and no example for the payload

steep marten
#

Take the response, do some massaging and use it for the request

hazy solar
#

i already try on https://api.cloudflare.com/client/v4/zones/{zone_identifier}/firewall/rules/{id} , i can get the infomation about the custom rules, but the problem rn is the payload

steep marten
hazy solar
mossy owl
#

Sounds like your API token/key headers are wrong or you're using an API token that doesn't have permission to access rulesets

hazy solar
hazy solar