Skip to content

Adds Zone and Account Subscriptions management - #93

Merged
SergkeiM merged 1 commit into
masterfrom
feature/subscriptions
Aug 16, 2026
Merged

SergkeiM merged 1 commit into
masterfrom
feature/subscriptions

Conversation

@SergkeiM

Copy link
Copy Markdown
Owner

Implements the Cloudflare Zone Subscriptions API, enabling full CRUD (Create, Read, Update, Delete) operations for managing subscriptions directly tied to a specific zone.

Also introduces a new append operation for Account Subscriptions. Unlike the existing update method which overwrites, append intelligently integrates new subscription values into an existing account subscription, allowing Cloudflare to determine how changes should be applied within the subscription's lifecycle.

These additions expand the package's API coverage, providing more granular control over subscription management at both the account and zone levels. Corresponding documentation and tests are included for all new functionalities.

The `zones/subscriptions` endpoint provides methods to `get`, `create`, `update`, and `delete` zone-level subscriptions. The `accounts/subscriptions` endpoint gains a new `append()` method, allowing for intelligent merging of subscription values rather than full replacement.

This expands the client's API coverage, including corresponding documentation and tests, and updates the coverage report.
@SergkeiM SergkeiM linked an issue Aug 16, 2026 that may be closed by this pull request
@SergkeiM
SergkeiM merged commit aed1050 into master Aug 16, 2026
11 checks passed
@SergkeiM
SergkeiM deleted the feature/subscriptions branch August 16, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Subscriptions

1 participant