cloudflare / cloudflare-php

PHP library for the Cloudflare v4 API
BSD 3-Clause "New" or "Revised" License
621 stars 222 forks source link

Add Zone Subscription Setup Support #190

Closed phily245 closed 3 years ago

phily245 commented 3 years ago

According to https://developers.cloudflare.com/tenant/tutorial/enabling-services#create-a-zone-subscription, when I use the tenant API to create a zone I then need to assign the zone a subscription.

I would like to do this programatically so I would like a function to hit the API (documented at https://developers.cloudflare.com/tenant/tutorial/enabling-services#create-a-zone-subscription)

I'll raise a PR for this