cloudflare-php icon indicating copy to clipboard operation
cloudflare-php copied to clipboard

Is there a method to delete and existing zone? I found none.

Open bluerid opened this issue 6 years ago • 5 comments

Is there a method that implements the functionality of this cloudflare api endpoint? I found a method deleteHostname but that's for custom hostnames that are routed via CNAME.

bluerid avatar Mar 14 '19 03:03 bluerid

There currently is no method for deleting an existing zone. There actually seems to be numerous missing methods that exist in the official API.

aaronhuisinga avatar Mar 22 '19 15:03 aaronhuisinga

@IcyApril I have created a deleteZone method in zone endponts in a feature branch. Should i push and create pull request?

bluerid avatar Mar 25 '19 04:03 bluerid

@IcyApril Could you please review this issue?

bluerid avatar Apr 03 '19 03:04 bluerid

@bluerid Sorry for the slow reply - please do create a PR! Tests and passing of the CI tests (PHPMD) is what's usually needed (if you haven't already done so).

IcyApril avatar Jun 07 '19 15:06 IcyApril

PR https://github.com/cloudflare/cloudflare-php/pull/99

beltofte avatar Sep 17 '19 08:09 beltofte