export clt="..." # get from Profile > OAUTH > Personal Access Token get all rules (check metadata to see if all fits in one page)
curl -H "Authorization: Bearer ${clt}" "https://fireflyiii.hs.tjenwellens.eu/api/v1/rules?limit=100" > rules.json get the one rule you need
cat rules.json| jq '.data[] | select(.id == "54")|.attributes' > rules.54.continente-category.json curl -v -X 'PUT' --data "@rules.54.continente-category.json" -H "content-type: application/json" -H "Authorization: Bearer ${clt}" "https://fireflyiii.hs.tjenwellens.eu/api/v1/rules/54" | jq cat rules.json| jq '.data[] | select(....