diff --git a/api.md b/api.md
index c71a3bef468..9effe79ab7b 100644
--- a/api.md
+++ b/api.md
@@ -50,7 +50,7 @@ Methods:
- client.accounts.members.create(\*, account_id, \*\*params) -> UserWithInviteCode
- client.accounts.members.update(member_id, \*, account_id, \*\*params) -> Member
- client.accounts.members.list(\*, account_id, \*\*params) -> SyncV4PagePaginationArray[MemberListResponse]
-- client.accounts.members.delete(member_id, \*, account_id, \*\*params) -> Optional
+- client.accounts.members.delete(member_id, \*, account_id) -> Optional
- client.accounts.members.get(member_id, \*, account_id) -> Member
## Roles
@@ -83,7 +83,7 @@ Methods:
- client.origin_ca_certificates.create(\*\*params) -> OriginCACertificateCreateResponse
- client.origin_ca_certificates.list(\*\*params) -> SyncSinglePage[OriginCACertificate]
-- client.origin_ca_certificates.delete(certificate_id, \*\*params) -> OriginCACertificateDeleteResponse
+- client.origin_ca_certificates.delete(certificate_id) -> OriginCACertificateDeleteResponse
- client.origin_ca_certificates.get(certificate_id) -> OriginCACertificateGetResponse
# IPs
@@ -115,7 +115,7 @@ Methods:
- client.memberships.update(membership_id, \*\*params) -> MembershipUpdateResponse
- client.memberships.list(\*\*params) -> SyncV4PagePaginationArray[Membership]
-- client.memberships.delete(membership_id, \*\*params) -> MembershipDeleteResponse
+- client.memberships.delete(membership_id) -> MembershipDeleteResponse
- client.memberships.get(membership_id) -> MembershipGetResponse
# User
@@ -188,7 +188,7 @@ from cloudflare.types.user import Organization, OrganizationDeleteResponse, Orga
Methods:
- client.user.organizations.list(\*\*params) -> SyncV4PagePaginationArray[Organization]
-- client.user.organizations.delete(organization_id, \*\*params) -> OrganizationDeleteResponse
+- client.user.organizations.delete(organization_id) -> OrganizationDeleteResponse
- client.user.organizations.get(organization_id) -> OrganizationGetResponse
## Subscriptions
@@ -211,7 +211,7 @@ from cloudflare.types.user import (
Methods:
- client.user.subscriptions.update(identifier, \*\*params) -> SubscriptionUpdateResponse
-- client.user.subscriptions.delete(identifier, \*\*params) -> SubscriptionDeleteResponse
+- client.user.subscriptions.delete(identifier) -> SubscriptionDeleteResponse
- client.user.subscriptions.edit(identifier, \*\*params) -> SubscriptionEditResponse
- client.user.subscriptions.get() -> Optional
@@ -238,7 +238,7 @@ Methods:
- client.user.tokens.create(\*\*params) -> TokenCreateResponse
- client.user.tokens.update(token_id, \*\*params) -> TokenUpdateResponse
- client.user.tokens.list(\*\*params) -> SyncV4PagePaginationArray[object]
-- client.user.tokens.delete(token_id, \*\*params) -> Optional
+- client.user.tokens.delete(token_id) -> Optional
- client.user.tokens.get(token_id) -> TokenGetResponse
- client.user.tokens.verify() -> TokenVerifyResponse
@@ -1046,7 +1046,7 @@ Methods:
- client.load_balancers.create(\*, zone_id, \*\*params) -> LoadBalancer
- client.load_balancers.update(load_balancer_id, \*, zone_id, \*\*params) -> LoadBalancer
- client.load_balancers.list(\*, zone_id) -> SyncSinglePage[LoadBalancer]
-- client.load_balancers.delete(load_balancer_id, \*, zone_id, \*\*params) -> LoadBalancerDeleteResponse
+- client.load_balancers.delete(load_balancer_id, \*, zone_id) -> LoadBalancerDeleteResponse
- client.load_balancers.edit(load_balancer_id, \*, zone_id, \*\*params) -> LoadBalancer
- client.load_balancers.get(load_balancer_id, \*, zone_id) -> LoadBalancer
@@ -1063,7 +1063,7 @@ Methods:
- client.load_balancers.monitors.create(\*, account_id, \*\*params) -> Monitor
- client.load_balancers.monitors.update(monitor_id, \*, account_id, \*\*params) -> Monitor
- client.load_balancers.monitors.list(\*, account_id) -> SyncSinglePage[Monitor]
-- client.load_balancers.monitors.delete(monitor_id, \*, account_id, \*\*params) -> MonitorDeleteResponse
+- client.load_balancers.monitors.delete(monitor_id, \*, account_id) -> MonitorDeleteResponse
- client.load_balancers.monitors.edit(monitor_id, \*, account_id, \*\*params) -> Monitor
- client.load_balancers.monitors.get(monitor_id, \*, account_id) -> Monitor
@@ -1104,7 +1104,7 @@ Methods:
- client.load_balancers.pools.create(\*, account_id, \*\*params) -> Pool
- client.load_balancers.pools.update(pool_id, \*, account_id, \*\*params) -> Pool
- client.load_balancers.pools.list(\*, account_id, \*\*params) -> SyncSinglePage[Pool]
-- client.load_balancers.pools.delete(pool_id, \*, account_id, \*\*params) -> PoolDeleteResponse
+- client.load_balancers.pools.delete(pool_id, \*, account_id) -> PoolDeleteResponse
- client.load_balancers.pools.edit(pool_id, \*, account_id, \*\*params) -> Pool
- client.load_balancers.pools.get(pool_id, \*, account_id) -> Pool
@@ -1218,7 +1218,7 @@ from cloudflare.types.cache import (
Methods:
-- client.cache.smart_tiered_cache.delete(\*, zone_id, \*\*params) -> SmartTieredCacheDeleteResponse
+- client.cache.smart_tiered_cache.delete(\*, zone_id) -> SmartTieredCacheDeleteResponse
- client.cache.smart_tiered_cache.edit(\*, zone_id, \*\*params) -> SmartTieredCacheEditResponse
- client.cache.smart_tiered_cache.get(\*, zone_id) -> SmartTieredCacheGetResponse
@@ -1237,7 +1237,7 @@ from cloudflare.types.cache import (
Methods:
-- client.cache.variants.delete(\*, zone_id, \*\*params) -> CacheVariant
+- client.cache.variants.delete(\*, zone_id) -> CacheVariant
- client.cache.variants.edit(\*, zone_id, \*\*params) -> VariantEditResponse
- client.cache.variants.get(\*, zone_id) -> VariantGetResponse
@@ -1289,7 +1289,7 @@ from cloudflare.types.ssl import (
Methods:
- client.ssl.certificate_packs.list(\*, zone_id, \*\*params) -> SyncSinglePage[object]
-- client.ssl.certificate_packs.delete(certificate_pack_id, \*, zone_id, \*\*params) -> CertificatePackDeleteResponse
+- client.ssl.certificate_packs.delete(certificate_pack_id, \*, zone_id) -> CertificatePackDeleteResponse
- client.ssl.certificate_packs.edit(certificate_pack_id, \*, zone_id, \*\*params) -> CertificatePackEditResponse
- client.ssl.certificate_packs.get(certificate_pack_id, \*, zone_id) -> CertificatePackGetResponse
@@ -1375,7 +1375,7 @@ Methods:
- client.subscriptions.create(identifier, \*\*params) -> SubscriptionCreateResponse
- client.subscriptions.update(subscription_identifier, \*, account_identifier, \*\*params) -> SubscriptionUpdateResponse
- client.subscriptions.list(account_identifier) -> SyncSinglePage[Subscription]
-- client.subscriptions.delete(subscription_identifier, \*, account_identifier, \*\*params) -> SubscriptionDeleteResponse
+- client.subscriptions.delete(subscription_identifier, \*, account_identifier) -> SubscriptionDeleteResponse
- client.subscriptions.get(identifier) -> SubscriptionGetResponse
# ACM
@@ -1501,7 +1501,7 @@ Methods:
- client.custom_certificates.create(\*, zone_id, \*\*params) -> CustomCertificateCreateResponse
- client.custom_certificates.list(\*, zone_id, \*\*params) -> SyncV4PagePaginationArray[CustomCertificate]
-- client.custom_certificates.delete(custom_certificate_id, \*, zone_id, \*\*params) -> CustomCertificateDeleteResponse
+- client.custom_certificates.delete(custom_certificate_id, \*, zone_id) -> CustomCertificateDeleteResponse
- client.custom_certificates.edit(custom_certificate_id, \*, zone_id, \*\*params) -> CustomCertificateEditResponse
- client.custom_certificates.get(custom_certificate_id, \*, zone_id) -> CustomCertificateGetResponse
@@ -1539,7 +1539,7 @@ Methods:
- client.custom_hostnames.create(\*, zone_id, \*\*params) -> CustomHostnameCreateResponse
- client.custom_hostnames.list(\*, zone_id, \*\*params) -> SyncV4PagePaginationArray[CustomHostnameListResponse]
-- client.custom_hostnames.delete(custom_hostname_id, \*, zone_id, \*\*params) -> CustomHostnameDeleteResponse
+- client.custom_hostnames.delete(custom_hostname_id, \*, zone_id) -> CustomHostnameDeleteResponse
- client.custom_hostnames.edit(custom_hostname_id, \*, zone_id, \*\*params) -> CustomHostnameEditResponse
- client.custom_hostnames.get(custom_hostname_id, \*, zone_id) -> CustomHostnameGetResponse
@@ -1558,7 +1558,7 @@ from cloudflare.types.custom_hostnames import (
Methods:
- client.custom_hostnames.fallback_origin.update(\*, zone_id, \*\*params) -> FallbackOriginUpdateResponse
-- client.custom_hostnames.fallback_origin.delete(\*, zone_id, \*\*params) -> FallbackOriginDeleteResponse
+- client.custom_hostnames.fallback_origin.delete(\*, zone_id) -> FallbackOriginDeleteResponse
- client.custom_hostnames.fallback_origin.get(\*, zone_id) -> FallbackOriginGetResponse
# CustomNameservers
@@ -1578,7 +1578,7 @@ from cloudflare.types.custom_nameservers import (
Methods:
- client.custom_nameservers.create(\*, account_id, \*\*params) -> CustomNameserver
-- client.custom_nameservers.delete(custom_ns_id, \*, account_id, \*\*params) -> Optional
+- client.custom_nameservers.delete(custom_ns_id, \*, account_id) -> Optional
- client.custom_nameservers.availabilty(\*, account_id) -> Optional
- client.custom_nameservers.get(\*, account_id) -> Optional
- client.custom_nameservers.verify(\*, account_id, \*\*params) -> Optional
@@ -1634,7 +1634,7 @@ Methods:
- client.dns.records.create(\*, zone_id, \*\*params) -> Optional
- client.dns.records.update(dns_record_id, \*, zone_id, \*\*params) -> Optional
- client.dns.records.list(\*, zone_id, \*\*params) -> SyncV4PagePaginationArray[Record]
-- client.dns.records.delete(dns_record_id, \*, zone_id, \*\*params) -> Optional
+- client.dns.records.delete(dns_record_id, \*, zone_id) -> Optional
- client.dns.records.edit(dns_record_id, \*, zone_id, \*\*params) -> Optional
- client.dns.records.export(\*, zone_id) -> str
- client.dns.records.get(dns_record_id, \*, zone_id) -> Optional
@@ -1685,7 +1685,7 @@ Methods:
- client.dns.firewall.create(\*, account_id, \*\*params) -> Firewall
- client.dns.firewall.list(\*, account_id, \*\*params) -> SyncV4PagePaginationArray[Firewall]
-- client.dns.firewall.delete(dns_firewall_id, \*, account_id, \*\*params) -> FirewallDeleteResponse
+- client.dns.firewall.delete(dns_firewall_id, \*, account_id) -> FirewallDeleteResponse
- client.dns.firewall.edit(dns_firewall_id, \*, account_id, \*\*params) -> Firewall
- client.dns.firewall.get(dns_firewall_id, \*, account_id) -> Firewall
@@ -1713,7 +1713,7 @@ from cloudflare.types.dnssec import DNSSEC, DNSSECDeleteResponse
Methods:
-- client.dnssec.delete(\*, zone_id, \*\*params) -> Optional
+- client.dnssec.delete(\*, zone_id) -> Optional
- client.dnssec.edit(\*, zone_id, \*\*params) -> Optional
- client.dnssec.get(\*, zone_id) -> Optional
@@ -1805,7 +1805,7 @@ Methods:
- client.filters.create(zone_identifier, \*\*params) -> Optional
- client.filters.update(id, \*, zone_identifier, \*\*params) -> FirewallFilter
- client.filters.list(zone_identifier, \*\*params) -> SyncV4PagePaginationArray[FirewallFilter]
-- client.filters.delete(id, \*, zone_identifier, \*\*params) -> FirewallFilter
+- client.filters.delete(id, \*, zone_identifier) -> FirewallFilter
- client.filters.get(id, \*, zone_identifier) -> FirewallFilter
# Firewall
@@ -1830,7 +1830,7 @@ Methods:
- client.firewall.lockdowns.create(zone_identifier, \*\*params) -> Lockdown
- client.firewall.lockdowns.update(id, \*, zone_identifier, \*\*params) -> Lockdown
- client.firewall.lockdowns.list(zone_identifier, \*\*params) -> SyncV4PagePaginationArray[Lockdown]
-- client.firewall.lockdowns.delete(id, \*, zone_identifier, \*\*params) -> Optional
+- client.firewall.lockdowns.delete(id, \*, zone_identifier) -> Optional
- client.firewall.lockdowns.get(id, \*, zone_identifier) -> Lockdown
## Rules
@@ -1852,7 +1852,7 @@ Methods:
- client.firewall.rules.create(zone_identifier, \*\*params) -> Optional
- client.firewall.rules.update(id, \*, zone_identifier, \*\*params) -> FirewallRule
- client.firewall.rules.list(zone_identifier, \*\*params) -> SyncV4PagePaginationArray[FirewallRule]
-- client.firewall.rules.delete(id, \*, zone_identifier, \*\*params) -> FirewallRule
+- client.firewall.rules.delete(id, \*, zone_identifier) -> FirewallRule
- client.firewall.rules.edit(id, \*, zone_identifier, \*\*params) -> Optional
- client.firewall.rules.get(zone_identifier, \*, path_id, \*\*params) -> FirewallRule
@@ -1879,7 +1879,7 @@ Methods:
- client.firewall.access_rules.create(\*, account_id, zone_id, \*\*params) -> AccessRuleCreateResponse
- client.firewall.access_rules.list(\*, account_id, zone_id, \*\*params) -> SyncV4PagePaginationArray[object]
-- client.firewall.access_rules.delete(identifier, \*, account_id, zone_id, \*\*params) -> Optional
+- client.firewall.access_rules.delete(identifier, \*, account_id, zone_id) -> Optional
- client.firewall.access_rules.edit(identifier, \*, account_id, zone_id, \*\*params) -> AccessRuleEditResponse
- client.firewall.access_rules.get(identifier, \*, account_id, zone_id) -> AccessRuleGetResponse
@@ -1902,7 +1902,7 @@ Methods:
- client.firewall.ua_rules.create(zone_identifier, \*\*params) -> UARuleCreateResponse
- client.firewall.ua_rules.update(id, \*, zone_identifier, \*\*params) -> UARuleUpdateResponse
- client.firewall.ua_rules.list(zone_identifier, \*\*params) -> SyncV4PagePaginationArray[UARuleListResponse]
-- client.firewall.ua_rules.delete(id, \*, zone_identifier, \*\*params) -> UARuleDeleteResponse
+- client.firewall.ua_rules.delete(id, \*, zone_identifier) -> UARuleDeleteResponse
- client.firewall.ua_rules.get(id, \*, zone_identifier) -> UARuleGetResponse
## WAF
@@ -1926,7 +1926,7 @@ Methods:
- client.firewall.waf.overrides.create(zone_identifier, \*\*params) -> Override
- client.firewall.waf.overrides.update(id, \*, zone_identifier, \*\*params) -> Override
- client.firewall.waf.overrides.list(zone_identifier, \*\*params) -> SyncV4PagePaginationArray[Override]
-- client.firewall.waf.overrides.delete(id, \*, zone_identifier, \*\*params) -> Optional
+- client.firewall.waf.overrides.delete(id, \*, zone_identifier) -> Optional
- client.firewall.waf.overrides.get(id, \*, zone_identifier) -> Override
### Packages
@@ -1996,7 +1996,7 @@ Methods:
- client.healthchecks.create(\*, zone_id, \*\*params) -> Healthcheck
- client.healthchecks.update(healthcheck_id, \*, zone_id, \*\*params) -> Healthcheck
- client.healthchecks.list(\*, zone_id, \*\*params) -> SyncSinglePage[Healthcheck]
-- client.healthchecks.delete(healthcheck_id, \*, zone_id, \*\*params) -> HealthcheckDeleteResponse
+- client.healthchecks.delete(healthcheck_id, \*, zone_id) -> HealthcheckDeleteResponse
- client.healthchecks.edit(healthcheck_id, \*, zone_id, \*\*params) -> Healthcheck
- client.healthchecks.get(healthcheck_id, \*, zone_id) -> Healthcheck
@@ -2011,7 +2011,7 @@ from cloudflare.types.healthchecks import PreviewDeleteResponse
Methods:
- client.healthchecks.previews.create(\*, zone_id, \*\*params) -> Healthcheck
-- client.healthchecks.previews.delete(healthcheck_id, \*, zone_id, \*\*params) -> PreviewDeleteResponse
+- client.healthchecks.previews.delete(healthcheck_id, \*, zone_id) -> PreviewDeleteResponse
- client.healthchecks.previews.get(healthcheck_id, \*, zone_id) -> Healthcheck
# KeylessCertificates
@@ -2030,7 +2030,7 @@ Methods:
- client.keyless_certificates.create(\*, zone_id, \*\*params) -> KeylessCertificate
- client.keyless_certificates.list(\*, zone_id) -> SyncSinglePage[KeylessCertificate]
-- client.keyless_certificates.delete(keyless_certificate_id, \*, zone_id, \*\*params) -> KeylessCertificateDeleteResponse
+- client.keyless_certificates.delete(keyless_certificate_id, \*, zone_id) -> KeylessCertificateDeleteResponse
- client.keyless_certificates.edit(keyless_certificate_id, \*, zone_id, \*\*params) -> KeylessCertificate
- client.keyless_certificates.get(keyless_certificate_id, \*, zone_id) -> KeylessCertificate
@@ -2088,7 +2088,7 @@ Methods:
- client.logpush.jobs.create(\*, account_id, zone_id, \*\*params) -> Optional
- client.logpush.jobs.update(job_id, \*, account_id, zone_id, \*\*params) -> Optional
- client.logpush.jobs.list(\*, account_id, zone_id) -> SyncSinglePage[Optional]
-- client.logpush.jobs.delete(job_id, \*, account_id, zone_id, \*\*params) -> object
+- client.logpush.jobs.delete(job_id, \*, account_id, zone_id) -> object
- client.logpush.jobs.get(job_id, \*, account_id, zone_id) -> Optional
## Ownership
@@ -2149,7 +2149,7 @@ from cloudflare.types.logs.control.cmb import CmbConfig, ConfigDeleteResponse
Methods:
- client.logs.control.cmb.config.create(\*, account_id, \*\*params) -> Optional
-- client.logs.control.cmb.config.delete(\*, account_id, \*\*params) -> object
+- client.logs.control.cmb.config.delete(\*, account_id) -> object
- client.logs.control.cmb.config.get(\*, account_id) -> Optional
## RayID
@@ -2205,7 +2205,7 @@ Methods:
- client.origin_tls_client_auth.create(\*, zone_id, \*\*params) -> OriginTLSClientAuthCreateResponse
- client.origin_tls_client_auth.list(\*, zone_id) -> SyncSinglePage[ZoneAuthenticatedOriginPull]
-- client.origin_tls_client_auth.delete(certificate_id, \*, zone_id, \*\*params) -> OriginTLSClientAuthDeleteResponse
+- client.origin_tls_client_auth.delete(certificate_id, \*, zone_id) -> OriginTLSClientAuthDeleteResponse
- client.origin_tls_client_auth.get(certificate_id, \*, zone_id) -> OriginTLSClientAuthGetResponse
## Hostnames
@@ -2238,7 +2238,7 @@ Methods:
- client.origin_tls_client_auth.hostnames.certificates.create(\*, zone_id, \*\*params) -> CertificateCreateResponse
- client.origin_tls_client_auth.hostnames.certificates.list(\*, zone_id) -> SyncSinglePage[AuthenticatedOriginPull]
-- client.origin_tls_client_auth.hostnames.certificates.delete(certificate_id, \*, zone_id, \*\*params) -> CertificateDeleteResponse
+- client.origin_tls_client_auth.hostnames.certificates.delete(certificate_id, \*, zone_id) -> CertificateDeleteResponse
- client.origin_tls_client_auth.hostnames.certificates.get(certificate_id, \*, zone_id) -> CertificateGetResponse
## Settings
@@ -2278,7 +2278,7 @@ Methods:
- client.pagerules.create(\*, zone_id, \*\*params) -> PageruleCreateResponse
- client.pagerules.update(pagerule_id, \*, zone_id, \*\*params) -> PageruleUpdateResponse
- client.pagerules.list(\*, zone_id, \*\*params) -> PageruleListResponse
-- client.pagerules.delete(pagerule_id, \*, zone_id, \*\*params) -> Optional
+- client.pagerules.delete(pagerule_id, \*, zone_id) -> Optional
- client.pagerules.edit(pagerule_id, \*, zone_id, \*\*params) -> PageruleEditResponse
- client.pagerules.get(pagerule_id, \*, zone_id) -> PageruleGetResponse
@@ -2314,7 +2314,7 @@ Methods:
- client.rate_limits.create(zone_identifier, \*\*params) -> RateLimitCreateResponse
- client.rate_limits.list(zone_identifier, \*\*params) -> SyncV4PagePaginationArray[RateLimit]
-- client.rate_limits.delete(id, \*, zone_identifier, \*\*params) -> RateLimitDeleteResponse
+- client.rate_limits.delete(id, \*, zone_identifier) -> RateLimitDeleteResponse
- client.rate_limits.edit(id, \*, zone_identifier, \*\*params) -> RateLimitEditResponse
- client.rate_limits.get(id, \*, zone_identifier) -> RateLimitGetResponse
@@ -2350,7 +2350,7 @@ Methods:
- client.secondary_dns.incoming.create(\*, zone_id, \*\*params) -> Optional
- client.secondary_dns.incoming.update(\*, zone_id, \*\*params) -> Optional
-- client.secondary_dns.incoming.delete(\*, zone_id, \*\*params) -> Optional
+- client.secondary_dns.incoming.delete(\*, zone_id) -> Optional
- client.secondary_dns.incoming.get(\*, zone_id) -> Optional
## Outgoing
@@ -2375,7 +2375,7 @@ Methods:
- client.secondary_dns.outgoing.create(\*, zone_id, \*\*params) -> Optional
- client.secondary_dns.outgoing.update(\*, zone_id, \*\*params) -> Optional
-- client.secondary_dns.outgoing.delete(\*, zone_id, \*\*params) -> Optional
+- client.secondary_dns.outgoing.delete(\*, zone_id) -> Optional
- client.secondary_dns.outgoing.disable(\*, zone_id, \*\*params) -> str
- client.secondary_dns.outgoing.enable(\*, zone_id, \*\*params) -> str
- client.secondary_dns.outgoing.force_notify(\*, zone_id, \*\*params) -> str
@@ -2400,7 +2400,7 @@ Methods:
- client.secondary_dns.acls.create(\*, account_id, \*\*params) -> Optional
- client.secondary_dns.acls.update(acl_id, \*, account_id, \*\*params) -> Optional
- client.secondary_dns.acls.list(\*, account_id) -> SyncSinglePage[ACL]
-- client.secondary_dns.acls.delete(acl_id, \*, account_id, \*\*params) -> Optional
+- client.secondary_dns.acls.delete(acl_id, \*, account_id) -> Optional
- client.secondary_dns.acls.get(acl_id, \*, account_id) -> Optional
## Peers
@@ -2416,7 +2416,7 @@ Methods:
- client.secondary_dns.peers.create(\*, account_id, \*\*params) -> Optional
- client.secondary_dns.peers.update(peer_id, \*, account_id, \*\*params) -> Optional
- client.secondary_dns.peers.list(\*, account_id) -> SyncSinglePage[Peer]
-- client.secondary_dns.peers.delete(peer_id, \*, account_id, \*\*params) -> Optional
+- client.secondary_dns.peers.delete(peer_id, \*, account_id) -> Optional
- client.secondary_dns.peers.get(peer_id, \*, account_id) -> Optional
## TSIGs
@@ -2432,7 +2432,7 @@ Methods:
- client.secondary_dns.tsigs.create(\*, account_id, \*\*params) -> Optional
- client.secondary_dns.tsigs.update(tsig_id, \*, account_id, \*\*params) -> Optional
- client.secondary_dns.tsigs.list(\*, account_id) -> SyncSinglePage[TSIG]
-- client.secondary_dns.tsigs.delete(tsig_id, \*, account_id, \*\*params) -> Optional
+- client.secondary_dns.tsigs.delete(tsig_id, \*, account_id) -> Optional
- client.secondary_dns.tsigs.get(tsig_id, \*, account_id) -> Optional
# WaitingRooms
@@ -2454,7 +2454,7 @@ Methods:
- client.waiting_rooms.create(\*, zone_id, \*\*params) -> WaitingRoom
- client.waiting_rooms.update(waiting_room_id, \*, zone_id, \*\*params) -> WaitingRoom
- client.waiting_rooms.list(\*, zone_id, \*\*params) -> SyncSinglePage[WaitingRoom]
-- client.waiting_rooms.delete(waiting_room_id, \*, zone_id, \*\*params) -> WaitingRoomDeleteResponse
+- client.waiting_rooms.delete(waiting_room_id, \*, zone_id) -> WaitingRoomDeleteResponse
- client.waiting_rooms.edit(waiting_room_id, \*, zone_id, \*\*params) -> WaitingRoom
- client.waiting_rooms.get(waiting_room_id, \*, zone_id) -> WaitingRoom
@@ -2483,7 +2483,7 @@ Methods:
- client.waiting_rooms.events.create(waiting_room_id, \*, zone_id, \*\*params) -> Event
- client.waiting_rooms.events.update(event_id, \*, zone_id, waiting_room_id, \*\*params) -> Event
- client.waiting_rooms.events.list(waiting_room_id, \*, zone_id, \*\*params) -> SyncSinglePage[Event]
-- client.waiting_rooms.events.delete(event_id, \*, zone_id, waiting_room_id, \*\*params) -> EventDeleteResponse
+- client.waiting_rooms.events.delete(event_id, \*, zone_id, waiting_room_id) -> EventDeleteResponse
- client.waiting_rooms.events.edit(event_id, \*, zone_id, waiting_room_id, \*\*params) -> Event
- client.waiting_rooms.events.get(event_id, \*, zone_id, waiting_room_id) -> Event
@@ -2518,7 +2518,7 @@ Methods:
- client.waiting_rooms.rules.create(waiting_room_id, \*, zone_id, \*\*params) -> Optional
- client.waiting_rooms.rules.update(waiting_room_id, \*, zone_id, \*\*params) -> Optional
- client.waiting_rooms.rules.list(waiting_room_id, \*, zone_id) -> SyncSinglePage[WaitingRoomRule]
-- client.waiting_rooms.rules.delete(rule_id, \*, zone_id, waiting_room_id, \*\*params) -> Optional
+- client.waiting_rooms.rules.delete(rule_id, \*, zone_id, waiting_room_id) -> Optional
- client.waiting_rooms.rules.edit(rule_id, \*, zone_id, waiting_room_id, \*\*params) -> Optional
## Statuses
@@ -2566,7 +2566,7 @@ Methods:
- client.web3.hostnames.create(zone_identifier, \*\*params) -> Hostname
- client.web3.hostnames.list(zone_identifier) -> SyncSinglePage[Hostname]
-- client.web3.hostnames.delete(identifier, \*, zone_identifier, \*\*params) -> Optional
+- client.web3.hostnames.delete(identifier, \*, zone_identifier) -> Optional
- client.web3.hostnames.edit(identifier, \*, zone_identifier, \*\*params) -> Hostname
- client.web3.hostnames.get(identifier, \*, zone_identifier) -> Hostname
@@ -2604,7 +2604,7 @@ Methods:
- client.web3.hostnames.ipfs_universal_paths.content_lists.entries.create(identifier, \*, zone_identifier, \*\*params) -> EntryCreateResponse
- client.web3.hostnames.ipfs_universal_paths.content_lists.entries.update(content_list_entry_identifier, \*, zone_identifier, identifier, \*\*params) -> EntryUpdateResponse
- client.web3.hostnames.ipfs_universal_paths.content_lists.entries.list(identifier, \*, zone_identifier) -> Optional
-- client.web3.hostnames.ipfs_universal_paths.content_lists.entries.delete(content_list_entry_identifier, \*, zone_identifier, identifier, \*\*params) -> Optional
+- client.web3.hostnames.ipfs_universal_paths.content_lists.entries.delete(content_list_entry_identifier, \*, zone_identifier, identifier) -> Optional
- client.web3.hostnames.ipfs_universal_paths.content_lists.entries.get(content_list_entry_identifier, \*, zone_identifier, identifier) -> EntryGetResponse
# Workers
@@ -2685,7 +2685,7 @@ from cloudflare.types.workers.scripts import (
Methods:
- client.workers.scripts.tail.create(script_name, \*, account_id, \*\*params) -> Optional
-- client.workers.scripts.tail.delete(id, \*, account_id, script_name, \*\*params) -> TailDeleteResponse
+- client.workers.scripts.tail.delete(id, \*, account_id, script_name) -> TailDeleteResponse
- client.workers.scripts.tail.get(script_name, \*, account_id) -> Optional
### Content
@@ -2762,7 +2762,7 @@ Methods:
- client.workers.domains.update(\*, account_id, \*\*params) -> Optional
- client.workers.domains.list(\*, account_id, \*\*params) -> SyncSinglePage[Domain]
-- client.workers.domains.delete(domain_id, \*, account_id, \*\*params) -> None
+- client.workers.domains.delete(domain_id, \*, account_id) -> None
- client.workers.domains.get(domain_id, \*, account_id) -> Optional
## Subdomains
@@ -2793,7 +2793,7 @@ Methods:
- client.kv.namespaces.create(\*, account_id, \*\*params) -> Namespace
- client.kv.namespaces.update(namespace_id, \*, account_id, \*\*params) -> NamespaceUpdateResponse
- client.kv.namespaces.list(\*, account_id, \*\*params) -> SyncV4PagePaginationArray[Namespace]
-- client.kv.namespaces.delete(namespace_id, \*, account_id, \*\*params) -> NamespaceDeleteResponse
+- client.kv.namespaces.delete(namespace_id, \*, account_id) -> NamespaceDeleteResponse
### Bulk
@@ -2806,7 +2806,7 @@ from cloudflare.types.kv.namespaces import BulkUpdateResponse, BulkDeleteRespons
Methods:
- client.kv.namespaces.bulk.update(namespace_id, \*, account_id, \*\*params) -> BulkUpdateResponse
-- client.kv.namespaces.bulk.delete(namespace_id, \*, account_id, \*\*params) -> BulkDeleteResponse
+- client.kv.namespaces.bulk.delete(namespace_id, \*, account_id) -> BulkDeleteResponse
### Keys
@@ -2847,7 +2847,7 @@ from cloudflare.types.kv.namespaces import (
Methods:
- client.kv.namespaces.values.update(key_name, \*, account_id, namespace_id, \*\*params) -> ValueUpdateResponse
-- client.kv.namespaces.values.delete(key_name, \*, account_id, namespace_id, \*\*params) -> ValueDeleteResponse
+- client.kv.namespaces.values.delete(key_name, \*, account_id, namespace_id) -> ValueDeleteResponse
- client.kv.namespaces.values.get(key_name, \*, account_id, namespace_id) -> str
# DurableObjects
@@ -2889,7 +2889,7 @@ Methods:
- client.queues.create(\*, account_id, \*\*params) -> Optional
- client.queues.update(queue_id, \*, account_id, \*\*params) -> Optional
- client.queues.list(\*, account_id) -> SyncSinglePage[Queue]
-- client.queues.delete(queue_id, \*, account_id, \*\*params) -> Optional
+- client.queues.delete(queue_id, \*, account_id) -> Optional
- client.queues.get(queue_id, \*, account_id) -> Optional
## Consumers
@@ -2910,7 +2910,7 @@ Methods:
- client.queues.consumers.create(queue_id, \*, account_id, \*\*params) -> Optional
- client.queues.consumers.update(consumer_id, \*, account_id, queue_id, \*\*params) -> Optional
-- client.queues.consumers.delete(consumer_id, \*, account_id, queue_id, \*\*params) -> Optional
+- client.queues.consumers.delete(consumer_id, \*, account_id, queue_id) -> Optional
- client.queues.consumers.get(queue_id, \*, account_id) -> Optional
## Messages
@@ -3198,7 +3198,7 @@ Methods:
- client.spectrum.apps.create(zone, \*\*params) -> Optional
- client.spectrum.apps.update(app_id, \*, zone, \*\*params) -> Optional
- client.spectrum.apps.list(zone, \*\*params) -> SyncV4PagePaginationArray[object]
-- client.spectrum.apps.delete(app_id, \*, zone, \*\*params) -> Optional
+- client.spectrum.apps.delete(app_id, \*, zone) -> Optional
- client.spectrum.apps.get(app_id, \*, zone) -> AppGetResponse
# Addressing
@@ -3232,7 +3232,7 @@ Methods:
- client.addressing.address_maps.create(\*, account_id, \*\*params) -> Optional
- client.addressing.address_maps.list(\*, account_id) -> SyncSinglePage[AddressMap]
-- client.addressing.address_maps.delete(address_map_id, \*, account_id, \*\*params) -> Optional
+- client.addressing.address_maps.delete(address_map_id, \*, account_id) -> Optional
- client.addressing.address_maps.edit(address_map_id, \*, account_id, \*\*params) -> Optional
- client.addressing.address_maps.get(address_map_id, \*, account_id) -> Optional
@@ -3247,7 +3247,7 @@ from cloudflare.types.addressing.address_maps import AccountUpdateResponse, Acco
Methods:
- client.addressing.address_maps.accounts.update(address_map_id, \*, account_id, \*\*params) -> Optional
-- client.addressing.address_maps.accounts.delete(address_map_id, \*, account_id, \*\*params) -> Optional
+- client.addressing.address_maps.accounts.delete(address_map_id, \*, account_id) -> Optional
### IPs
@@ -3260,7 +3260,7 @@ from cloudflare.types.addressing.address_maps import IPUpdateResponse, IPDeleteR
Methods:
- client.addressing.address_maps.ips.update(ip_address, \*, account_id, address_map_id, \*\*params) -> Optional
-- client.addressing.address_maps.ips.delete(ip_address, \*, account_id, address_map_id, \*\*params) -> Optional
+- client.addressing.address_maps.ips.delete(ip_address, \*, account_id, address_map_id) -> Optional
### Zones
@@ -3273,7 +3273,7 @@ from cloudflare.types.addressing.address_maps import ZoneUpdateResponse, ZoneDel
Methods:
- client.addressing.address_maps.zones.update(address_map_id, \*, zone_id, account_id, \*\*params) -> Optional
-- client.addressing.address_maps.zones.delete(address_map_id, \*, zone_id, account_id, \*\*params) -> Optional
+- client.addressing.address_maps.zones.delete(address_map_id, \*, zone_id, account_id) -> Optional
## LOADocuments
@@ -3311,7 +3311,7 @@ Methods:
- client.addressing.prefixes.create(\*, account_id, \*\*params) -> Optional
- client.addressing.prefixes.list(\*, account_id) -> SyncSinglePage[Prefix]
-- client.addressing.prefixes.delete(prefix_id, \*, account_id, \*\*params) -> Optional
+- client.addressing.prefixes.delete(prefix_id, \*, account_id) -> Optional
- client.addressing.prefixes.edit(prefix_id, \*, account_id, \*\*params) -> Optional
- client.addressing.prefixes.get(prefix_id, \*, account_id) -> Optional
@@ -3371,7 +3371,7 @@ Methods:
- client.addressing.prefixes.delegations.create(prefix_id, \*, account_id, \*\*params) -> Optional
- client.addressing.prefixes.delegations.list(prefix_id, \*, account_id) -> SyncSinglePage[Delegations]
-- client.addressing.prefixes.delegations.delete(delegation_id, \*, account_id, prefix_id, \*\*params) -> Optional
+- client.addressing.prefixes.delegations.delete(delegation_id, \*, account_id, prefix_id) -> Optional
# AuditLogs
@@ -3440,7 +3440,7 @@ Methods:
- client.images.v1.create(\*, account_id, \*\*params) -> Image
- client.images.v1.list(\*, account_id, \*\*params) -> SyncV4PagePagination[V1ListResponse]
-- client.images.v1.delete(image_id, \*, account_id, \*\*params) -> V1DeleteResponse
+- client.images.v1.delete(image_id, \*, account_id) -> V1DeleteResponse
- client.images.v1.edit(image_id, \*, account_id, \*\*params) -> Image
- client.images.v1.get(image_id, \*, account_id) -> Image
@@ -3488,7 +3488,7 @@ Methods:
- client.images.v1.variants.create(\*, account_id, \*\*params) -> VariantCreateResponse
- client.images.v1.variants.list(\*, account_id) -> Variant
-- client.images.v1.variants.delete(variant_id, \*, account_id, \*\*params) -> VariantDeleteResponse
+- client.images.v1.variants.delete(variant_id, \*, account_id) -> VariantDeleteResponse
- client.images.v1.variants.edit(variant_id, \*, account_id, \*\*params) -> VariantEditResponse
- client.images.v1.variants.get(variant_id, \*, account_id) -> VariantGetResponse
@@ -3710,11 +3710,8 @@ Types:
```python
from cloudflare.types.intel.attack_surface_report import (
- IssueClass,
IssueType,
- Product,
SeverityQueryParam,
- Subject,
IssueListResponse,
IssueClassResponse,
IssueDismissResponse,
@@ -3776,7 +3773,7 @@ Methods:
- client.magic_transit.gre_tunnels.create(\*, account_id, \*\*params) -> GRETunnelCreateResponse
- client.magic_transit.gre_tunnels.update(tunnel_identifier, \*, account_id, \*\*params) -> GRETunnelUpdateResponse
- client.magic_transit.gre_tunnels.list(\*, account_id) -> GRETunnelListResponse
-- client.magic_transit.gre_tunnels.delete(tunnel_identifier, \*, account_id, \*\*params) -> GRETunnelDeleteResponse
+- client.magic_transit.gre_tunnels.delete(tunnel_identifier, \*, account_id) -> GRETunnelDeleteResponse
- client.magic_transit.gre_tunnels.get(tunnel_identifier, \*, account_id) -> GRETunnelGetResponse
## IPSECTunnels
@@ -3800,7 +3797,7 @@ Methods:
- client.magic_transit.ipsec_tunnels.create(\*, account_id, \*\*params) -> IPSECTunnelCreateResponse
- client.magic_transit.ipsec_tunnels.update(tunnel_identifier, \*, account_id, \*\*params) -> IPSECTunnelUpdateResponse
- client.magic_transit.ipsec_tunnels.list(\*, account_id) -> IPSECTunnelListResponse
-- client.magic_transit.ipsec_tunnels.delete(tunnel_identifier, \*, account_id, \*\*params) -> IPSECTunnelDeleteResponse
+- client.magic_transit.ipsec_tunnels.delete(tunnel_identifier, \*, account_id) -> IPSECTunnelDeleteResponse
- client.magic_transit.ipsec_tunnels.get(tunnel_identifier, \*, account_id) -> IPSECTunnelGetResponse
- client.magic_transit.ipsec_tunnels.psk_generate(tunnel_identifier, \*, account_id, \*\*params) -> IPSECTunnelPSKGenerateResponse
@@ -3810,8 +3807,6 @@ Types:
```python
from cloudflare.types.magic_transit import (
- ColoName,
- ColoRegion,
Scope,
RouteCreateResponse,
RouteUpdateResponse,
@@ -3827,8 +3822,8 @@ Methods:
- client.magic_transit.routes.create(\*, account_id, \*\*params) -> RouteCreateResponse
- client.magic_transit.routes.update(route_identifier, \*, account_id, \*\*params) -> RouteUpdateResponse
- client.magic_transit.routes.list(\*, account_id) -> RouteListResponse
-- client.magic_transit.routes.delete(route_identifier, \*, account_id, \*\*params) -> RouteDeleteResponse
-- client.magic_transit.routes.empty(\*, account_id, \*\*params) -> RouteEmptyResponse
+- client.magic_transit.routes.delete(route_identifier, \*, account_id) -> RouteDeleteResponse
+- client.magic_transit.routes.empty(\*, account_id) -> RouteEmptyResponse
- client.magic_transit.routes.get(route_identifier, \*, account_id) -> RouteGetResponse
## Sites
@@ -3844,7 +3839,7 @@ Methods:
- client.magic_transit.sites.create(\*, account_id, \*\*params) -> Site
- client.magic_transit.sites.update(site_id, \*, account_id, \*\*params) -> Site
- client.magic_transit.sites.list(\*, account_id, \*\*params) -> SyncSinglePage[Site]
-- client.magic_transit.sites.delete(site_id, \*, account_id, \*\*params) -> Site
+- client.magic_transit.sites.delete(site_id, \*, account_id) -> Site
- client.magic_transit.sites.get(site_id, \*, account_id) -> Site
### ACLs
@@ -3860,7 +3855,7 @@ Methods:
- client.magic_transit.sites.acls.create(site_id, \*, account_id, \*\*params) -> ACL
- client.magic_transit.sites.acls.update(acl_identifier, \*, account_id, site_id, \*\*params) -> ACL
- client.magic_transit.sites.acls.list(site_id, \*, account_id) -> SyncSinglePage[ACL]
-- client.magic_transit.sites.acls.delete(acl_identifier, \*, account_id, site_id, \*\*params) -> ACL
+- client.magic_transit.sites.acls.delete(acl_identifier, \*, account_id, site_id) -> ACL
- client.magic_transit.sites.acls.get(acl_identifier, \*, account_id, site_id) -> ACL
### LANs
@@ -3884,7 +3879,7 @@ Methods:
- client.magic_transit.sites.lans.create(site_id, \*, account_id, \*\*params) -> LANCreateResponse
- client.magic_transit.sites.lans.update(lan_id, \*, account_id, site_id, \*\*params) -> LAN
- client.magic_transit.sites.lans.list(site_id, \*, account_id) -> SyncSinglePage[LAN]
-- client.magic_transit.sites.lans.delete(lan_id, \*, account_id, site_id, \*\*params) -> LAN
+- client.magic_transit.sites.lans.delete(lan_id, \*, account_id, site_id) -> LAN
- client.magic_transit.sites.lans.get(lan_id, \*, account_id, site_id) -> LAN
### WANs
@@ -3900,7 +3895,7 @@ Methods:
- client.magic_transit.sites.wans.create(site_id, \*, account_id, \*\*params) -> WANCreateResponse
- client.magic_transit.sites.wans.update(wan_id, \*, account_id, site_id, \*\*params) -> WAN
- client.magic_transit.sites.wans.list(site_id, \*, account_id) -> SyncSinglePage[WAN]
-- client.magic_transit.sites.wans.delete(wan_id, \*, account_id, site_id, \*\*params) -> WAN
+- client.magic_transit.sites.wans.delete(wan_id, \*, account_id, site_id) -> WAN
- client.magic_transit.sites.wans.get(wan_id, \*, account_id, site_id) -> WAN
# MagicNetworkMonitoring
@@ -3917,7 +3912,7 @@ Methods:
- client.magic_network_monitoring.configs.create(\*, account_id, \*\*params) -> Configuration
- client.magic_network_monitoring.configs.update(\*, account_id, \*\*params) -> Configuration
-- client.magic_network_monitoring.configs.delete(\*, account_id, \*\*params) -> Configuration
+- client.magic_network_monitoring.configs.delete(\*, account_id) -> Configuration
- client.magic_network_monitoring.configs.edit(\*, account_id, \*\*params) -> Configuration
- client.magic_network_monitoring.configs.get(\*, account_id) -> Configuration
@@ -3940,7 +3935,7 @@ Methods:
- client.magic_network_monitoring.rules.create(\*, account_id, \*\*params) -> Optional
- client.magic_network_monitoring.rules.update(\*, account_id, \*\*params) -> Optional
- client.magic_network_monitoring.rules.list(\*, account_id) -> SyncSinglePage[Optional]
-- client.magic_network_monitoring.rules.delete(rule_id, \*, account_id, \*\*params) -> Optional
+- client.magic_network_monitoring.rules.delete(rule_id, \*, account_id) -> Optional
- client.magic_network_monitoring.rules.edit(rule_id, \*, account_id, \*\*params) -> Optional
- client.magic_network_monitoring.rules.get(rule_id, \*, account_id) -> Optional
@@ -3968,7 +3963,7 @@ Methods:
- client.mtls_certificates.create(\*, account_id, \*\*params) -> MTLSCertificateCreateResponse
- client.mtls_certificates.list(\*, account_id) -> SyncSinglePage[MTLSCertificate]
-- client.mtls_certificates.delete(mtls_certificate_id, \*, account_id, \*\*params) -> MTLSCertificate
+- client.mtls_certificates.delete(mtls_certificate_id, \*, account_id) -> MTLSCertificate
- client.mtls_certificates.get(mtls_certificate_id, \*, account_id) -> MTLSCertificate
## Associations
@@ -4005,7 +4000,7 @@ Methods:
- client.pages.projects.create(\*, account_id, \*\*params) -> ProjectCreateResponse
- client.pages.projects.list(\*, account_id) -> SyncSinglePage[Deployment]
-- client.pages.projects.delete(project_name, \*, account_id, \*\*params) -> object
+- client.pages.projects.delete(project_name, \*, account_id) -> object
- client.pages.projects.edit(project_name, \*, account_id, \*\*params) -> ProjectEditResponse
- client.pages.projects.get(project_name, \*, account_id) -> Project
- client.pages.projects.purge_build_cache(project_name, \*, account_id) -> object
@@ -4022,7 +4017,7 @@ Methods:
- client.pages.projects.deployments.create(project_name, \*, account_id, \*\*params) -> Deployment
- client.pages.projects.deployments.list(project_name, \*, account_id, \*\*params) -> SyncSinglePage[Deployment]
-- client.pages.projects.deployments.delete(deployment_id, \*, account_id, project_name, \*\*params) -> object
+- client.pages.projects.deployments.delete(deployment_id, \*, account_id, project_name) -> object
- client.pages.projects.deployments.get(deployment_id, \*, account_id, project_name) -> Deployment
- client.pages.projects.deployments.retry(deployment_id, \*, account_id, project_name, \*\*params) -> Deployment
- client.pages.projects.deployments.rollback(deployment_id, \*, account_id, project_name, \*\*params) -> Deployment
@@ -4059,7 +4054,7 @@ Methods:
- client.pages.projects.domains.create(project_name, \*, account_id, \*\*params) -> Optional
- client.pages.projects.domains.list(project_name, \*, account_id) -> SyncSinglePage[object]
-- client.pages.projects.domains.delete(domain_name, \*, account_id, project_name, \*\*params) -> object
+- client.pages.projects.domains.delete(domain_name, \*, account_id, project_name) -> object
- client.pages.projects.domains.edit(domain_name, \*, account_id, project_name, \*\*params) -> Optional
- client.pages.projects.domains.get(domain_name, \*, account_id, project_name) -> Optional
@@ -4149,7 +4144,7 @@ Methods:
- client.rules.lists.create(\*, account_id, \*\*params) -> Optional
- client.rules.lists.update(list_id, \*, account_id, \*\*params) -> Optional
- client.rules.lists.list(\*, account_id) -> SyncSinglePage[ListsList]
-- client.rules.lists.delete(list_id, \*, account_id, \*\*params) -> Optional
+- client.rules.lists.delete(list_id, \*, account_id) -> Optional
- client.rules.lists.get(list_id, \*, account_id) -> Optional
### BulkOperations
@@ -4185,7 +4180,7 @@ Methods:
- client.rules.lists.items.create(list_id, \*, account_id, \*\*params) -> Optional
- client.rules.lists.items.update(list_id, \*, account_id, \*\*params) -> Optional
- client.rules.lists.items.list(list_id, \*, account_id, \*\*params) -> SyncCursorPagination[object]
-- client.rules.lists.items.delete(list_id, \*, account_id, \*\*params) -> Optional
+- client.rules.lists.items.delete(list_id, \*, account_id) -> Optional
- client.rules.lists.items.get(item_id, \*, account_identifier, list_id) -> Optional
# Storage
@@ -4215,7 +4210,7 @@ Methods:
- client.stream.create(\*, account_id, \*\*params) -> None
- client.stream.list(\*, account_id, \*\*params) -> SyncSinglePage[Video]
-- client.stream.delete(identifier, \*, account_id, \*\*params) -> None
+- client.stream.delete(identifier, \*, account_id) -> None
- client.stream.get(identifier, \*, account_id) -> Optional
## AudioTracks
@@ -4286,7 +4281,7 @@ from cloudflare.types.stream import Keys, KeyDeleteResponse, KeyGetResponse
Methods:
- client.stream.keys.create(\*, account_id, \*\*params) -> Optional
-- client.stream.keys.delete(identifier, \*, account_id, \*\*params) -> Optional
+- client.stream.keys.delete(identifier, \*, account_id) -> Optional
- client.stream.keys.get(\*, account_id) -> Optional
## LiveInputs
@@ -4302,7 +4297,7 @@ Methods:
- client.stream.live_inputs.create(\*, account_id, \*\*params) -> Optional
- client.stream.live_inputs.update(live_input_identifier, \*, account_id, \*\*params) -> Optional
- client.stream.live_inputs.list(\*, account_id, \*\*params) -> Optional
-- client.stream.live_inputs.delete(live_input_identifier, \*, account_id, \*\*params) -> None
+- client.stream.live_inputs.delete(live_input_identifier, \*, account_id) -> None
- client.stream.live_inputs.get(live_input_identifier, \*, account_id) -> Optional
### Outputs
@@ -4318,7 +4313,7 @@ Methods:
- client.stream.live_inputs.outputs.create(live_input_identifier, \*, account_id, \*\*params) -> Optional
- client.stream.live_inputs.outputs.update(output_identifier, \*, account_id, live_input_identifier, \*\*params) -> Optional
- client.stream.live_inputs.outputs.list(live_input_identifier, \*, account_id) -> SyncSinglePage[Output]
-- client.stream.live_inputs.outputs.delete(output_identifier, \*, account_id, live_input_identifier, \*\*params) -> None
+- client.stream.live_inputs.outputs.delete(output_identifier, \*, account_id, live_input_identifier) -> None
## Watermarks
@@ -4332,7 +4327,7 @@ Methods:
- client.stream.watermarks.create(\*, account_id, \*\*params) -> Optional
- client.stream.watermarks.list(\*, account_id) -> SyncSinglePage[Watermark]
-- client.stream.watermarks.delete(identifier, \*, account_id, \*\*params) -> Optional
+- client.stream.watermarks.delete(identifier, \*, account_id) -> Optional
- client.stream.watermarks.get(identifier, \*, account_id) -> Optional
## Webhooks
@@ -4346,7 +4341,7 @@ from cloudflare.types.stream import WebhookUpdateResponse, WebhookDeleteResponse
Methods:
- client.stream.webhooks.update(\*, account_id, \*\*params) -> Optional
-- client.stream.webhooks.delete(\*, account_id, \*\*params) -> Optional
+- client.stream.webhooks.delete(\*, account_id) -> Optional
- client.stream.webhooks.get(\*, account_id) -> Optional
## Captions
@@ -4372,7 +4367,7 @@ from cloudflare.types.stream.captions import LanguageDeleteResponse
Methods:
- client.stream.captions.language.update(language, \*, account_id, identifier, \*\*params) -> Optional
-- client.stream.captions.language.delete(language, \*, account_id, identifier, \*\*params) -> str
+- client.stream.captions.language.delete(language, \*, account_id, identifier) -> str
- client.stream.captions.language.get(language, \*, account_id, identifier) -> Optional
#### Vtt
@@ -4620,7 +4615,7 @@ Methods:
- client.warp_connector.create(\*, account_id, \*\*params) -> WARPConnectorCreateResponse
- client.warp_connector.list(\*, account_id, \*\*params) -> SyncV4PagePaginationArray[WARPConnectorListResponse]
-- client.warp_connector.delete(tunnel_id, \*, account_id, \*\*params) -> WARPConnectorDeleteResponse
+- client.warp_connector.delete(tunnel_id, \*, account_id) -> WARPConnectorDeleteResponse
- client.warp_connector.edit(tunnel_id, \*, account_id, \*\*params) -> WARPConnectorEditResponse
- client.warp_connector.get(tunnel_id, \*, account_id) -> WARPConnectorGetResponse
- client.warp_connector.token(tunnel_id, \*, account_id) -> WARPConnectorTokenResponse
@@ -4781,7 +4776,7 @@ Methods:
- client.zero_trust.devices.networks.create(\*, account_id, \*\*params) -> Optional
- client.zero_trust.devices.networks.update(network_id, \*, account_id, \*\*params) -> Optional
- client.zero_trust.devices.networks.list(\*, account_id) -> SyncSinglePage[DeviceNetwork]
-- client.zero_trust.devices.networks.delete(network_id, \*, account_id, \*\*params) -> Optional
+- client.zero_trust.devices.networks.delete(network_id, \*, account_id) -> Optional
- client.zero_trust.devices.networks.get(network_id, \*, account_id) -> Optional
### Policies
@@ -4796,7 +4791,7 @@ Methods:
- client.zero_trust.devices.policies.create(\*, account_id, \*\*params) -> Optional
- client.zero_trust.devices.policies.list(\*, account_id) -> SyncSinglePage[SettingsPolicy]
-- client.zero_trust.devices.policies.delete(policy_id, \*, account_id, \*\*params) -> Optional
+- client.zero_trust.devices.policies.delete(policy_id, \*, account_id) -> Optional
- client.zero_trust.devices.policies.edit(policy_id, \*, account_id, \*\*params) -> Optional
- client.zero_trust.devices.policies.get(policy_id, \*, account_id) -> Optional
@@ -4900,7 +4895,7 @@ Methods:
- client.zero_trust.devices.posture.create(\*, account_id, \*\*params) -> Optional
- client.zero_trust.devices.posture.update(rule_id, \*, account_id, \*\*params) -> Optional
- client.zero_trust.devices.posture.list(\*, account_id) -> SyncSinglePage[DevicePostureRule]
-- client.zero_trust.devices.posture.delete(rule_id, \*, account_id, \*\*params) -> Optional
+- client.zero_trust.devices.posture.delete(rule_id, \*, account_id) -> Optional
- client.zero_trust.devices.posture.get(rule_id, \*, account_id) -> Optional
#### Integrations
@@ -4915,7 +4910,7 @@ Methods:
- client.zero_trust.devices.posture.integrations.create(\*, account_id, \*\*params) -> Optional
- client.zero_trust.devices.posture.integrations.list(\*, account_id) -> SyncSinglePage[Integration]
-- client.zero_trust.devices.posture.integrations.delete(integration_id, \*, account_id, \*\*params) -> IntegrationDeleteResponse
+- client.zero_trust.devices.posture.integrations.delete(integration_id, \*, account_id) -> IntegrationDeleteResponse
- client.zero_trust.devices.posture.integrations.edit(integration_id, \*, account_id, \*\*params) -> Optional
- client.zero_trust.devices.posture.integrations.get(integration_id, \*, account_id) -> Optional
@@ -5223,7 +5218,7 @@ Methods:
- client.zero_trust.access.bookmarks.create(uuid, \*, identifier, \*\*params) -> Optional
- client.zero_trust.access.bookmarks.update(uuid, \*, identifier, \*\*params) -> Optional
- client.zero_trust.access.bookmarks.list(identifier) -> SyncSinglePage[Bookmark]
-- client.zero_trust.access.bookmarks.delete(uuid, \*, identifier, \*\*params) -> Optional
+- client.zero_trust.access.bookmarks.delete(uuid, \*, identifier) -> Optional
- client.zero_trust.access.bookmarks.get(uuid, \*, identifier) -> Optional
### Keys
@@ -5487,7 +5482,7 @@ Methods:
- client.zero_trust.tunnels.create(\*, account_id, \*\*params) -> TunnelCreateResponse
- client.zero_trust.tunnels.list(\*, account_id, \*\*params) -> SyncV4PagePaginationArray[TunnelListResponse]
-- client.zero_trust.tunnels.delete(tunnel_id, \*, account_id, \*\*params) -> TunnelDeleteResponse
+- client.zero_trust.tunnels.delete(tunnel_id, \*, account_id) -> TunnelDeleteResponse
- client.zero_trust.tunnels.edit(tunnel_id, \*, account_id, \*\*params) -> TunnelEditResponse
- client.zero_trust.tunnels.get(tunnel_id, \*, account_id) -> TunnelGetResponse
@@ -5521,7 +5516,7 @@ from cloudflare.types.zero_trust.tunnels import (
Methods:
-- client.zero_trust.tunnels.connections.delete(tunnel_id, \*, account_id, \*\*params) -> ConnectionDeleteResponse
+- client.zero_trust.tunnels.connections.delete(tunnel_id, \*, account_id) -> ConnectionDeleteResponse
- client.zero_trust.tunnels.connections.get(tunnel_id, \*, account_id) -> Optional
### Token
@@ -5655,7 +5650,7 @@ Methods:
- client.zero_trust.dlp.profiles.custom.create(\*, account_id, \*\*params) -> Optional
- client.zero_trust.dlp.profiles.custom.update(profile_id, \*, account_id, \*\*params) -> CustomProfile
-- client.zero_trust.dlp.profiles.custom.delete(profile_id, \*, account_id, \*\*params) -> CustomDeleteResponse
+- client.zero_trust.dlp.profiles.custom.delete(profile_id, \*, account_id) -> CustomDeleteResponse
- client.zero_trust.dlp.profiles.custom.get(profile_id, \*, account_id) -> CustomProfile
#### Predefined
@@ -5769,7 +5764,7 @@ Methods:
- client.zero_trust.gateway.lists.create(\*, account_id, \*\*params) -> Optional
- client.zero_trust.gateway.lists.update(list_id, \*, account_id, \*\*params) -> Optional
- client.zero_trust.gateway.lists.list(\*, account_id) -> SyncSinglePage[GatewayList]
-- client.zero_trust.gateway.lists.delete(list_id, \*, account_id, \*\*params) -> Optional
+- client.zero_trust.gateway.lists.delete(list_id, \*, account_id) -> Optional
- client.zero_trust.gateway.lists.edit(list_id, \*, account_id, \*\*params) -> Optional
- client.zero_trust.gateway.lists.get(list_id, \*, account_id) -> Optional
@@ -5798,7 +5793,7 @@ Methods:
- client.zero_trust.gateway.locations.create(\*, account_id, \*\*params) -> Optional
- client.zero_trust.gateway.locations.update(location_id, \*, account_id, \*\*params) -> Optional
- client.zero_trust.gateway.locations.list(\*, account_id) -> SyncSinglePage[Location]
-- client.zero_trust.gateway.locations.delete(location_id, \*, account_id, \*\*params) -> Optional
+- client.zero_trust.gateway.locations.delete(location_id, \*, account_id) -> Optional
- client.zero_trust.gateway.locations.get(location_id, \*, account_id) -> Optional
### Logging
@@ -5830,7 +5825,7 @@ Methods:
- client.zero_trust.gateway.proxy_endpoints.create(\*, account_id, \*\*params) -> Optional
- client.zero_trust.gateway.proxy_endpoints.list(\*, account_id) -> SyncSinglePage[ProxyEndpoint]
-- client.zero_trust.gateway.proxy_endpoints.delete(proxy_endpoint_id, \*, account_id, \*\*params) -> Optional
+- client.zero_trust.gateway.proxy_endpoints.delete(proxy_endpoint_id, \*, account_id) -> Optional
- client.zero_trust.gateway.proxy_endpoints.edit(proxy_endpoint_id, \*, account_id, \*\*params) -> Optional
- client.zero_trust.gateway.proxy_endpoints.get(proxy_endpoint_id, \*, account_id) -> Optional
@@ -5855,7 +5850,7 @@ Methods:
- client.zero_trust.gateway.rules.create(\*, account_id, \*\*params) -> Optional
- client.zero_trust.gateway.rules.update(rule_id, \*, account_id, \*\*params) -> Optional
- client.zero_trust.gateway.rules.list(\*, account_id) -> SyncSinglePage[GatewayRule]
-- client.zero_trust.gateway.rules.delete(rule_id, \*, account_id, \*\*params) -> Optional
+- client.zero_trust.gateway.rules.delete(rule_id, \*, account_id) -> Optional
- client.zero_trust.gateway.rules.get(rule_id, \*, account_id) -> Optional
## Networks
@@ -5906,7 +5901,7 @@ Methods:
- client.zero_trust.networks.virtual_networks.create(\*, account_id, \*\*params) -> VirtualNetworkCreateResponse
- client.zero_trust.networks.virtual_networks.list(\*, account_id, \*\*params) -> SyncSinglePage[VirtualNetwork]
-- client.zero_trust.networks.virtual_networks.delete(virtual_network_id, \*, account_id, \*\*params) -> VirtualNetworkDeleteResponse
+- client.zero_trust.networks.virtual_networks.delete(virtual_network_id, \*, account_id) -> VirtualNetworkDeleteResponse
- client.zero_trust.networks.virtual_networks.edit(virtual_network_id, \*, account_id, \*\*params) -> VirtualNetworkEditResponse
## RiskScoring
diff --git a/src/cloudflare/resources/accounts/members.py b/src/cloudflare/resources/accounts/members.py
index 487213e8949..0a9618d6a48 100644
--- a/src/cloudflare/resources/accounts/members.py
+++ b/src/cloudflare/resources/accounts/members.py
@@ -26,7 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.accounts import member_list_params, member_create_params, member_delete_params, member_update_params
+from ...types.accounts import member_list_params, member_create_params, member_update_params
from ...types.shared.member import Member
from ...types.accounts.member_list_response import MemberListResponse
from ...types.accounts.user_with_invite_code import UserWithInviteCode
@@ -203,7 +203,6 @@ def delete(
member_id: str,
*,
account_id: object,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -229,7 +228,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `member_id` but received {member_id!r}")
return self._delete(
f"/accounts/{account_id}/members/{member_id}",
- body=maybe_transform(body, member_delete_params.MemberDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -449,7 +447,6 @@ async def delete(
member_id: str,
*,
account_id: object,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -475,7 +472,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `member_id` but received {member_id!r}")
return await self._delete(
f"/accounts/{account_id}/members/{member_id}",
- body=await async_maybe_transform(body, member_delete_params.MemberDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/addressing/address_maps/accounts.py b/src/cloudflare/resources/addressing/address_maps/accounts.py
index 17d49b29ca7..d48154dcb04 100644
--- a/src/cloudflare/resources/addressing/address_maps/accounts.py
+++ b/src/cloudflare/resources/addressing/address_maps/accounts.py
@@ -23,7 +23,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.addressing.address_maps import account_delete_params, account_update_params
+from ....types.addressing.address_maps import account_update_params
from ....types.addressing.address_maps.account_delete_response import AccountDeleteResponse
from ....types.addressing.address_maps.account_update_response import AccountUpdateResponse
@@ -90,7 +90,6 @@ def delete(
address_map_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -120,7 +119,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/accounts/{account_id}",
- body=maybe_transform(body, account_delete_params.AccountDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -192,7 +190,6 @@ async def delete(
address_map_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -222,7 +219,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return await self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/accounts/{account_id}",
- body=await async_maybe_transform(body, account_delete_params.AccountDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/addressing/address_maps/address_maps.py b/src/cloudflare/resources/addressing/address_maps/address_maps.py
index 548ce6e7002..bb2faee96ef 100644
--- a/src/cloudflare/resources/addressing/address_maps/address_maps.py
+++ b/src/cloudflare/resources/addressing/address_maps/address_maps.py
@@ -49,7 +49,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.addressing import address_map_edit_params, address_map_create_params, address_map_delete_params
+from ....types.addressing import address_map_edit_params, address_map_create_params
from ....types.addressing.address_map import AddressMap
from ....types.addressing.address_map_get_response import AddressMapGetResponse
from ....types.addressing.address_map_create_response import AddressMapCreateResponse
@@ -174,7 +174,6 @@ def delete(
address_map_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -206,7 +205,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}",
- body=maybe_transform(body, address_map_delete_params.AddressMapDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -445,7 +443,6 @@ async def delete(
address_map_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -477,7 +474,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return await self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}",
- body=await async_maybe_transform(body, address_map_delete_params.AddressMapDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/addressing/address_maps/ips.py b/src/cloudflare/resources/addressing/address_maps/ips.py
index a6bb3f55c6c..afabfb17ecf 100644
--- a/src/cloudflare/resources/addressing/address_maps/ips.py
+++ b/src/cloudflare/resources/addressing/address_maps/ips.py
@@ -23,7 +23,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.addressing.address_maps import ip_delete_params, ip_update_params
+from ....types.addressing.address_maps import ip_update_params
from ....types.addressing.address_maps.ip_delete_response import IPDeleteResponse
from ....types.addressing.address_maps.ip_update_response import IPUpdateResponse
@@ -96,7 +96,6 @@ def delete(
*,
account_id: str,
address_map_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -130,7 +129,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `ip_address` but received {ip_address!r}")
return self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/ips/{ip_address}",
- body=maybe_transform(body, ip_delete_params.IPDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -208,7 +206,6 @@ async def delete(
*,
account_id: str,
address_map_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -242,7 +239,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `ip_address` but received {ip_address!r}")
return await self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/ips/{ip_address}",
- body=await async_maybe_transform(body, ip_delete_params.IPDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/addressing/address_maps/zones.py b/src/cloudflare/resources/addressing/address_maps/zones.py
index c3f12537e44..adb801b9671 100644
--- a/src/cloudflare/resources/addressing/address_maps/zones.py
+++ b/src/cloudflare/resources/addressing/address_maps/zones.py
@@ -23,7 +23,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.addressing.address_maps import zone_delete_params, zone_update_params
+from ....types.addressing.address_maps import zone_update_params
from ....types.addressing.address_maps.zone_delete_response import ZoneDeleteResponse
from ....types.addressing.address_maps.zone_update_response import ZoneUpdateResponse
@@ -96,7 +96,6 @@ def delete(
*,
zone_id: str,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -130,7 +129,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/zones/{zone_id}",
- body=maybe_transform(body, zone_delete_params.ZoneDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -208,7 +206,6 @@ async def delete(
*,
zone_id: str,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -242,7 +239,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `address_map_id` but received {address_map_id!r}")
return await self._delete(
f"/accounts/{account_id}/addressing/address_maps/{address_map_id}/zones/{zone_id}",
- body=await async_maybe_transform(body, zone_delete_params.ZoneDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/addressing/prefixes/delegations.py b/src/cloudflare/resources/addressing/prefixes/delegations.py
index f82a45a6b17..193d76d1c01 100644
--- a/src/cloudflare/resources/addressing/prefixes/delegations.py
+++ b/src/cloudflare/resources/addressing/prefixes/delegations.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.addressing.prefixes import delegation_create_params, delegation_delete_params
+from ....types.addressing.prefixes import delegation_create_params
from ....types.addressing.prefixes.delegations import Delegations
from ....types.addressing.prefixes.delegation_delete_response import DelegationDeleteResponse
@@ -145,7 +145,6 @@ def delete(
*,
account_id: str,
prefix_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -179,7 +178,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `delegation_id` but received {delegation_id!r}")
return self._delete(
f"/accounts/{account_id}/addressing/prefixes/{prefix_id}/delegations/{delegation_id}",
- body=maybe_transform(body, delegation_delete_params.DelegationDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -304,7 +302,6 @@ async def delete(
*,
account_id: str,
prefix_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -338,7 +335,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `delegation_id` but received {delegation_id!r}")
return await self._delete(
f"/accounts/{account_id}/addressing/prefixes/{prefix_id}/delegations/{delegation_id}",
- body=await async_maybe_transform(body, delegation_delete_params.DelegationDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/addressing/prefixes/prefixes.py b/src/cloudflare/resources/addressing/prefixes/prefixes.py
index e73b6e4edeb..f7eb058f695 100644
--- a/src/cloudflare/resources/addressing/prefixes/prefixes.py
+++ b/src/cloudflare/resources/addressing/prefixes/prefixes.py
@@ -42,7 +42,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.addressing import prefix_edit_params, prefix_create_params, prefix_delete_params
+from ....types.addressing import prefix_edit_params, prefix_create_params
from ....types.addressing.prefix import Prefix
from ....types.addressing.prefix_delete_response import PrefixDeleteResponse
@@ -163,7 +163,6 @@ def delete(
prefix_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -193,7 +192,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `prefix_id` but received {prefix_id!r}")
return self._delete(
f"/accounts/{account_id}/addressing/prefixes/{prefix_id}",
- body=maybe_transform(body, prefix_delete_params.PrefixDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -411,7 +409,6 @@ async def delete(
prefix_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -441,7 +438,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `prefix_id` but received {prefix_id!r}")
return await self._delete(
f"/accounts/{account_id}/addressing/prefixes/{prefix_id}",
- body=await async_maybe_transform(body, prefix_delete_params.PrefixDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/cache/smart_tiered_cache.py b/src/cloudflare/resources/cache/smart_tiered_cache.py
index 39c7e79e4b0..05eaf141475 100644
--- a/src/cloudflare/resources/cache/smart_tiered_cache.py
+++ b/src/cloudflare/resources/cache/smart_tiered_cache.py
@@ -21,7 +21,7 @@
async_to_streamed_response_wrapper,
)
from ..._wrappers import ResultWrapper
-from ...types.cache import smart_tiered_cache_edit_params, smart_tiered_cache_delete_params
+from ...types.cache import smart_tiered_cache_edit_params
from ..._base_client import (
make_request_options,
)
@@ -45,7 +45,6 @@ def delete(
self,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -73,7 +72,6 @@ def delete(
SmartTieredCacheDeleteResponse,
self._delete(
f"/zones/{zone_id}/cache/tiered_cache_smart_topology_enable",
- body=maybe_transform(body, smart_tiered_cache_delete_params.SmartTieredCacheDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -193,7 +191,6 @@ async def delete(
self,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -221,7 +218,6 @@ async def delete(
SmartTieredCacheDeleteResponse,
await self._delete(
f"/zones/{zone_id}/cache/tiered_cache_smart_topology_enable",
- body=await async_maybe_transform(body, smart_tiered_cache_delete_params.SmartTieredCacheDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/cache/variants.py b/src/cloudflare/resources/cache/variants.py
index c7043671ef7..3c7f760c774 100644
--- a/src/cloudflare/resources/cache/variants.py
+++ b/src/cloudflare/resources/cache/variants.py
@@ -20,7 +20,7 @@
async_to_streamed_response_wrapper,
)
from ..._wrappers import ResultWrapper
-from ...types.cache import variant_edit_params, variant_delete_params
+from ...types.cache import variant_edit_params
from ..._base_client import (
make_request_options,
)
@@ -44,7 +44,6 @@ def delete(
self,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -74,7 +73,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return self._delete(
f"/zones/{zone_id}/cache/variants",
- body=maybe_transform(body, variant_delete_params.VariantDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -189,7 +187,6 @@ async def delete(
self,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -219,7 +216,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return await self._delete(
f"/zones/{zone_id}/cache/variants",
- body=await async_maybe_transform(body, variant_delete_params.VariantDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/custom_certificates/custom_certificates.py b/src/cloudflare/resources/custom_certificates/custom_certificates.py
index 8842c9fe482..5ef45dded84 100644
--- a/src/cloudflare/resources/custom_certificates/custom_certificates.py
+++ b/src/cloudflare/resources/custom_certificates/custom_certificates.py
@@ -39,7 +39,6 @@
custom_certificate_edit_params,
custom_certificate_list_params,
custom_certificate_create_params,
- custom_certificate_delete_params,
)
from ...types.custom_hostnames.bundle_method import BundleMethod
from ...types.custom_certificates.custom_certificate import CustomCertificate
@@ -224,7 +223,6 @@ def delete(
custom_certificate_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -256,7 +254,6 @@ def delete(
)
return self._delete(
f"/zones/{zone_id}/custom_certificates/{custom_certificate_id}",
- body=maybe_transform(body, custom_certificate_delete_params.CustomCertificateDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -587,7 +584,6 @@ async def delete(
custom_certificate_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -619,7 +615,6 @@ async def delete(
)
return await self._delete(
f"/zones/{zone_id}/custom_certificates/{custom_certificate_id}",
- body=await async_maybe_transform(body, custom_certificate_delete_params.CustomCertificateDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/custom_hostnames/custom_hostnames.py b/src/cloudflare/resources/custom_hostnames/custom_hostnames.py
index 5473e27d513..0b728cd337c 100644
--- a/src/cloudflare/resources/custom_hostnames/custom_hostnames.py
+++ b/src/cloudflare/resources/custom_hostnames/custom_hostnames.py
@@ -38,7 +38,6 @@
custom_hostname_edit_params,
custom_hostname_list_params,
custom_hostname_create_params,
- custom_hostname_delete_params,
)
from ...types.custom_hostnames.custom_hostname_get_response import CustomHostnameGetResponse
from ...types.custom_hostnames.custom_hostname_edit_response import CustomHostnameEditResponse
@@ -204,7 +203,6 @@ def delete(
custom_hostname_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -234,7 +232,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `custom_hostname_id` but received {custom_hostname_id!r}")
return self._delete(
f"/zones/{zone_id}/custom_hostnames/{custom_hostname_id}",
- body=maybe_transform(body, custom_hostname_delete_params.CustomHostnameDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
@@ -515,7 +512,6 @@ async def delete(
custom_hostname_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -545,7 +541,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `custom_hostname_id` but received {custom_hostname_id!r}")
return await self._delete(
f"/zones/{zone_id}/custom_hostnames/{custom_hostname_id}",
- body=await async_maybe_transform(body, custom_hostname_delete_params.CustomHostnameDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
diff --git a/src/cloudflare/resources/custom_hostnames/fallback_origin.py b/src/cloudflare/resources/custom_hostnames/fallback_origin.py
index 4372be317f4..b0b9cf333db 100644
--- a/src/cloudflare/resources/custom_hostnames/fallback_origin.py
+++ b/src/cloudflare/resources/custom_hostnames/fallback_origin.py
@@ -23,7 +23,7 @@
from ..._base_client import (
make_request_options,
)
-from ...types.custom_hostnames import fallback_origin_delete_params, fallback_origin_update_params
+from ...types.custom_hostnames import fallback_origin_update_params
from ...types.custom_hostnames.fallback_origin_get_response import FallbackOriginGetResponse
from ...types.custom_hostnames.fallback_origin_delete_response import FallbackOriginDeleteResponse
from ...types.custom_hostnames.fallback_origin_update_response import FallbackOriginUpdateResponse
@@ -92,7 +92,6 @@ def delete(
self,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -120,7 +119,6 @@ def delete(
FallbackOriginDeleteResponse,
self._delete(
f"/zones/{zone_id}/custom_hostnames/fallback_origin",
- body=maybe_transform(body, fallback_origin_delete_params.FallbackOriginDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -242,7 +240,6 @@ async def delete(
self,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -270,7 +267,6 @@ async def delete(
FallbackOriginDeleteResponse,
await self._delete(
f"/zones/{zone_id}/custom_hostnames/fallback_origin",
- body=await async_maybe_transform(body, fallback_origin_delete_params.FallbackOriginDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/custom_nameservers.py b/src/cloudflare/resources/custom_nameservers.py
index 86daaf57bd3..d6f0533f990 100644
--- a/src/cloudflare/resources/custom_nameservers.py
+++ b/src/cloudflare/resources/custom_nameservers.py
@@ -23,11 +23,7 @@
from .._base_client import (
make_request_options,
)
-from ..types.custom_nameservers import (
- custom_nameserver_create_params,
- custom_nameserver_delete_params,
- custom_nameserver_verify_params,
-)
+from ..types.custom_nameservers import custom_nameserver_create_params, custom_nameserver_verify_params
from ..types.custom_nameservers.custom_nameserver import CustomNameserver
from ..types.custom_nameservers.custom_nameserver_get_response import CustomNameserverGetResponse
from ..types.custom_nameservers.custom_nameserver_delete_response import CustomNameserverDeleteResponse
@@ -103,7 +99,6 @@ def delete(
custom_ns_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -135,7 +130,6 @@ def delete(
Optional[CustomNameserverDeleteResponse],
self._delete(
f"/accounts/{account_id}/custom_ns/{custom_ns_id}",
- body=maybe_transform(body, custom_nameserver_delete_params.CustomNameserverDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -337,7 +331,6 @@ async def delete(
custom_ns_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -369,7 +362,6 @@ async def delete(
Optional[CustomNameserverDeleteResponse],
await self._delete(
f"/accounts/{account_id}/custom_ns/{custom_ns_id}",
- body=await async_maybe_transform(body, custom_nameserver_delete_params.CustomNameserverDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/dns/firewall/firewall.py b/src/cloudflare/resources/dns/firewall/firewall.py
index a4bbe227f81..dd82f5448c3 100644
--- a/src/cloudflare/resources/dns/firewall/firewall.py
+++ b/src/cloudflare/resources/dns/firewall/firewall.py
@@ -28,12 +28,7 @@
async_to_streamed_response_wrapper,
)
from ...._wrappers import ResultWrapper
-from ....types.dns import (
- firewall_edit_params,
- firewall_list_params,
- firewall_create_params,
- firewall_delete_params,
-)
+from ....types.dns import firewall_edit_params, firewall_list_params, firewall_create_params
from ....pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
from ...._base_client import (
AsyncPaginator,
@@ -203,7 +198,6 @@ def delete(
dns_firewall_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -233,7 +227,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `dns_firewall_id` but received {dns_firewall_id!r}")
return self._delete(
f"/accounts/{account_id}/dns_firewall/{dns_firewall_id}",
- body=maybe_transform(body, firewall_delete_params.FirewallDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -534,7 +527,6 @@ async def delete(
dns_firewall_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -564,7 +556,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `dns_firewall_id` but received {dns_firewall_id!r}")
return await self._delete(
f"/accounts/{account_id}/dns_firewall/{dns_firewall_id}",
- body=await async_maybe_transform(body, firewall_delete_params.FirewallDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/dns/records.py b/src/cloudflare/resources/dns/records.py
index fd486f064e5..ca50b06af90 100644
--- a/src/cloudflare/resources/dns/records.py
+++ b/src/cloudflare/resources/dns/records.py
@@ -27,7 +27,6 @@
record_list_params,
record_scan_params,
record_create_params,
- record_delete_params,
record_import_params,
record_update_params,
)
@@ -2722,7 +2721,6 @@ def delete(
dns_record_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2752,7 +2750,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `dns_record_id` but received {dns_record_id!r}")
return self._delete(
f"/zones/{zone_id}/dns_records/{dns_record_id}",
- body=maybe_transform(body, record_delete_params.RecordDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -6928,7 +6925,6 @@ async def delete(
dns_record_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -6958,7 +6954,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `dns_record_id` but received {dns_record_id!r}")
return await self._delete(
f"/zones/{zone_id}/dns_records/{dns_record_id}",
- body=await async_maybe_transform(body, record_delete_params.RecordDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/dnssec.py b/src/cloudflare/resources/dnssec.py
index e4e171d640a..54a5ec093ab 100644
--- a/src/cloudflare/resources/dnssec.py
+++ b/src/cloudflare/resources/dnssec.py
@@ -24,7 +24,7 @@
from .._base_client import (
make_request_options,
)
-from ..types.dnssec import dnssec_edit_params, dnssec_delete_params
+from ..types.dnssec import dnssec_edit_params
from ..types.dnssec.dnssec import DNSSEC
from ..types.dnssec.dnssec_delete_response import DNSSECDeleteResponse
@@ -44,7 +44,6 @@ def delete(
self,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -72,7 +71,6 @@ def delete(
Optional[DNSSECDeleteResponse],
self._delete(
f"/zones/{zone_id}/dnssec",
- body=maybe_transform(body, dnssec_delete_params.DNSSECDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -208,7 +206,6 @@ async def delete(
self,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -236,7 +233,6 @@ async def delete(
Optional[DNSSECDeleteResponse],
await self._delete(
f"/zones/{zone_id}/dnssec",
- body=await async_maybe_transform(body, dnssec_delete_params.DNSSECDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/filters.py b/src/cloudflare/resources/filters.py
index 1204f4347c3..6e9f3b01354 100644
--- a/src/cloudflare/resources/filters.py
+++ b/src/cloudflare/resources/filters.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ..types.filters import filter_list_params, filter_create_params, filter_delete_params, filter_update_params
+from ..types.filters import filter_list_params, filter_create_params, filter_update_params
from ..types.filters.firewall_filter import FirewallFilter
from ..types.filters.filter_create_response import FilterCreateResponse
@@ -207,7 +207,6 @@ def delete(
id: str,
*,
zone_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -237,7 +236,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return self._delete(
f"/zones/{zone_identifier}/filters/{id}",
- body=maybe_transform(body, filter_delete_params.FilterDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -468,7 +466,6 @@ async def delete(
id: str,
*,
zone_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -498,7 +495,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return await self._delete(
f"/zones/{zone_identifier}/filters/{id}",
- body=await async_maybe_transform(body, filter_delete_params.FilterDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/firewall/access_rules.py b/src/cloudflare/resources/firewall/access_rules.py
index db4e862920e..3fac39c90ce 100644
--- a/src/cloudflare/resources/firewall/access_rules.py
+++ b/src/cloudflare/resources/firewall/access_rules.py
@@ -26,12 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.firewall import (
- access_rule_edit_params,
- access_rule_list_params,
- access_rule_create_params,
- access_rule_delete_params,
-)
+from ...types.firewall import access_rule_edit_params, access_rule_list_params, access_rule_create_params
from ...types.firewall.access_rule_get_response import AccessRuleGetResponse
from ...types.firewall.access_rule_edit_response import AccessRuleEditResponse
from ...types.firewall.access_rule_create_response import AccessRuleCreateResponse
@@ -212,7 +207,6 @@ def delete(
self,
identifier: object,
*,
- body: object,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -254,7 +248,6 @@ def delete(
account_or_zone_id = zone_id
return self._delete(
f"/{account_or_zone}/{account_or_zone_id}/firewall/access_rules/rules/{identifier}",
- body=maybe_transform(body, access_rule_delete_params.AccessRuleDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -573,7 +566,6 @@ async def delete(
self,
identifier: object,
*,
- body: object,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -615,7 +607,6 @@ async def delete(
account_or_zone_id = zone_id
return await self._delete(
f"/{account_or_zone}/{account_or_zone_id}/firewall/access_rules/rules/{identifier}",
- body=await async_maybe_transform(body, access_rule_delete_params.AccessRuleDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/firewall/lockdowns.py b/src/cloudflare/resources/firewall/lockdowns.py
index df602e6eaa2..da3be5c7fc9 100644
--- a/src/cloudflare/resources/firewall/lockdowns.py
+++ b/src/cloudflare/resources/firewall/lockdowns.py
@@ -26,12 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.firewall import (
- lockdown_list_params,
- lockdown_create_params,
- lockdown_delete_params,
- lockdown_update_params,
-)
+from ...types.firewall import lockdown_list_params, lockdown_create_params, lockdown_update_params
from ...types.firewall.lockdown import Lockdown
from ...types.firewall.lockdown_delete_response import LockdownDeleteResponse
@@ -232,7 +227,6 @@ def delete(
id: str,
*,
zone_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -262,7 +256,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return self._delete(
f"/zones/{zone_identifier}/firewall/lockdowns/{id}",
- body=maybe_transform(body, lockdown_delete_params.LockdownDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -512,7 +505,6 @@ async def delete(
id: str,
*,
zone_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -542,7 +534,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return await self._delete(
f"/zones/{zone_identifier}/firewall/lockdowns/{id}",
- body=await async_maybe_transform(body, lockdown_delete_params.LockdownDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/firewall/rules.py b/src/cloudflare/resources/firewall/rules.py
index 03d832a407a..9a3a377e651 100644
--- a/src/cloudflare/resources/firewall/rules.py
+++ b/src/cloudflare/resources/firewall/rules.py
@@ -30,7 +30,6 @@
rule_edit_params,
rule_list_params,
rule_create_params,
- rule_delete_params,
rule_update_params,
)
from ...types.firewall.firewall_rule import FirewallRule
@@ -211,7 +210,6 @@ def delete(
id: str,
*,
zone_identifier: str,
- delete_filter_if_unused: bool | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -227,9 +225,6 @@ def delete(
id: The unique identifier of the firewall rule.
- delete_filter_if_unused: When true, indicates that Cloudflare should also delete the associated filter if
- there are no other firewall rules referencing the filter.
-
extra_headers: Send extra headers
extra_query: Add additional query parameters to the request
@@ -244,9 +239,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return self._delete(
f"/zones/{zone_identifier}/firewall/rules/{id}",
- body=maybe_transform(
- {"delete_filter_if_unused": delete_filter_if_unused}, rule_delete_params.RuleDeleteParams
- ),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -523,7 +515,6 @@ async def delete(
id: str,
*,
zone_identifier: str,
- delete_filter_if_unused: bool | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -539,9 +530,6 @@ async def delete(
id: The unique identifier of the firewall rule.
- delete_filter_if_unused: When true, indicates that Cloudflare should also delete the associated filter if
- there are no other firewall rules referencing the filter.
-
extra_headers: Send extra headers
extra_query: Add additional query parameters to the request
@@ -556,9 +544,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return await self._delete(
f"/zones/{zone_identifier}/firewall/rules/{id}",
- body=await async_maybe_transform(
- {"delete_filter_if_unused": delete_filter_if_unused}, rule_delete_params.RuleDeleteParams
- ),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/firewall/ua_rules.py b/src/cloudflare/resources/firewall/ua_rules.py
index 16158d802a2..4da2caa2b8e 100644
--- a/src/cloudflare/resources/firewall/ua_rules.py
+++ b/src/cloudflare/resources/firewall/ua_rules.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.firewall import ua_rule_list_params, ua_rule_create_params, ua_rule_delete_params, ua_rule_update_params
+from ...types.firewall import ua_rule_list_params, ua_rule_create_params, ua_rule_update_params
from ...types.firewall.ua_rule_get_response import UARuleGetResponse
from ...types.firewall.ua_rule_list_response import UARuleListResponse
from ...types.firewall.ua_rule_create_response import UARuleCreateResponse
@@ -213,7 +213,6 @@ def delete(
id: str,
*,
zone_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -243,7 +242,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return self._delete(
f"/zones/{zone_identifier}/firewall/ua_rules/{id}",
- body=maybe_transform(body, ua_rule_delete_params.UARuleDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -482,7 +480,6 @@ async def delete(
id: str,
*,
zone_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -512,7 +509,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return await self._delete(
f"/zones/{zone_identifier}/firewall/ua_rules/{id}",
- body=await async_maybe_transform(body, ua_rule_delete_params.UARuleDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/firewall/waf/overrides.py b/src/cloudflare/resources/firewall/waf/overrides.py
index 2ead7d5a916..682e482964f 100644
--- a/src/cloudflare/resources/firewall/waf/overrides.py
+++ b/src/cloudflare/resources/firewall/waf/overrides.py
@@ -25,12 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.firewall.waf import (
- override_list_params,
- override_create_params,
- override_delete_params,
- override_update_params,
-)
+from ....types.firewall.waf import override_list_params, override_create_params, override_update_params
from ....types.firewall.waf.override import Override
from ....types.firewall.waf.override_delete_response import OverrideDeleteResponse
@@ -199,7 +194,6 @@ def delete(
id: str,
*,
zone_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -232,7 +226,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return self._delete(
f"/zones/{zone_identifier}/firewall/waf/overrides/{id}",
- body=maybe_transform(body, override_delete_params.OverrideDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -453,7 +446,6 @@ async def delete(
id: str,
*,
zone_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -486,7 +478,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return await self._delete(
f"/zones/{zone_identifier}/firewall/waf/overrides/{id}",
- body=await async_maybe_transform(body, override_delete_params.OverrideDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/healthchecks/healthchecks.py b/src/cloudflare/resources/healthchecks/healthchecks.py
index 8194286f06a..8120a2f6944 100644
--- a/src/cloudflare/resources/healthchecks/healthchecks.py
+++ b/src/cloudflare/resources/healthchecks/healthchecks.py
@@ -37,7 +37,6 @@
healthcheck_edit_params,
healthcheck_list_params,
healthcheck_create_params,
- healthcheck_delete_params,
healthcheck_update_params,
)
from ...types.healthchecks.healthcheck import Healthcheck
@@ -332,7 +331,6 @@ def delete(
healthcheck_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -362,7 +360,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `healthcheck_id` but received {healthcheck_id!r}")
return self._delete(
f"/zones/{zone_id}/healthchecks/{healthcheck_id}",
- body=maybe_transform(body, healthcheck_delete_params.HealthcheckDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -810,7 +807,6 @@ async def delete(
healthcheck_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -840,7 +836,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `healthcheck_id` but received {healthcheck_id!r}")
return await self._delete(
f"/zones/{zone_id}/healthchecks/{healthcheck_id}",
- body=await async_maybe_transform(body, healthcheck_delete_params.HealthcheckDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/healthchecks/previews.py b/src/cloudflare/resources/healthchecks/previews.py
index 8af9a96911d..c15f4667368 100644
--- a/src/cloudflare/resources/healthchecks/previews.py
+++ b/src/cloudflare/resources/healthchecks/previews.py
@@ -23,7 +23,7 @@
from ..._base_client import (
make_request_options,
)
-from ...types.healthchecks import preview_create_params, preview_delete_params
+from ...types.healthchecks import preview_create_params
from ...types.healthchecks.healthcheck import Healthcheck
from ...types.healthchecks.check_region import CheckRegion
from ...types.healthchecks.preview_delete_response import PreviewDeleteResponse
@@ -151,7 +151,6 @@ def delete(
healthcheck_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -181,7 +180,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `healthcheck_id` but received {healthcheck_id!r}")
return self._delete(
f"/zones/{zone_id}/healthchecks/preview/{healthcheck_id}",
- body=maybe_transform(body, preview_delete_params.PreviewDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -355,7 +353,6 @@ async def delete(
healthcheck_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -385,7 +382,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `healthcheck_id` but received {healthcheck_id!r}")
return await self._delete(
f"/zones/{zone_id}/healthchecks/preview/{healthcheck_id}",
- body=await async_maybe_transform(body, preview_delete_params.PreviewDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/images/v1/v1.py b/src/cloudflare/resources/images/v1/v1.py
index 1cc52fb05d8..b3ae56942d4 100644
--- a/src/cloudflare/resources/images/v1/v1.py
+++ b/src/cloudflare/resources/images/v1/v1.py
@@ -57,7 +57,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.images import v1_edit_params, v1_list_params, v1_create_params, v1_delete_params
+from ....types.images import v1_edit_params, v1_list_params, v1_create_params
from ....types.images.image import Image
from ....types.images.v1_list_response import V1ListResponse
from ....types.images.v1_delete_response import V1DeleteResponse
@@ -213,7 +213,6 @@ def delete(
image_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -247,7 +246,6 @@ def delete(
V1DeleteResponse,
self._delete(
f"/accounts/{account_id}/images/v1/{image_id}",
- body=maybe_transform(body, v1_delete_params.V1DeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -516,7 +514,6 @@ async def delete(
image_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -550,7 +547,6 @@ async def delete(
V1DeleteResponse,
await self._delete(
f"/accounts/{account_id}/images/v1/{image_id}",
- body=await async_maybe_transform(body, v1_delete_params.V1DeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/images/v1/variants.py b/src/cloudflare/resources/images/v1/variants.py
index 67656b3cf42..f8572736699 100644
--- a/src/cloudflare/resources/images/v1/variants.py
+++ b/src/cloudflare/resources/images/v1/variants.py
@@ -23,7 +23,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.images.v1 import variant_edit_params, variant_create_params, variant_delete_params
+from ....types.images.v1 import variant_edit_params, variant_create_params
from ....types.images.v1.variant import Variant
from ....types.images.v1.variant_get_response import VariantGetResponse
from ....types.images.v1.variant_edit_response import VariantEditResponse
@@ -141,7 +141,6 @@ def delete(
variant_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -171,7 +170,6 @@ def delete(
VariantDeleteResponse,
self._delete(
f"/accounts/{account_id}/images/v1/variants/{variant_id}",
- body=maybe_transform(body, variant_delete_params.VariantDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -392,7 +390,6 @@ async def delete(
variant_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -422,7 +419,6 @@ async def delete(
VariantDeleteResponse,
await self._delete(
f"/accounts/{account_id}/images/v1/variants/{variant_id}",
- body=await async_maybe_transform(body, variant_delete_params.VariantDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/intel/attack_surface_report/issues.py b/src/cloudflare/resources/intel/attack_surface_report/issues.py
index 357a1f48030..d4f6cca2c9f 100644
--- a/src/cloudflare/resources/intel/attack_surface_report/issues.py
+++ b/src/cloudflare/resources/intel/attack_surface_report/issues.py
@@ -33,9 +33,6 @@
issue_severity_params,
)
from ....types.intel.attack_surface_report.issue_type import IssueType
-from ....types.intel.attack_surface_report.product_param import ProductParam
-from ....types.intel.attack_surface_report.subject_param import SubjectParam
-from ....types.intel.attack_surface_report.issue_class_param import IssueClassParam
from ....types.intel.attack_surface_report.issue_list_response import IssueListResponse
from ....types.intel.attack_surface_report.issue_type_response import IssueTypeResponse
from ....types.intel.attack_surface_report.issue_class_response import IssueClassResponse
@@ -60,18 +57,18 @@ def list(
*,
account_id: str,
dismissed: bool | NotGiven = NOT_GIVEN,
- issue_class: IssueClassParam | NotGiven = NOT_GIVEN,
- issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN,
+ issue_class: List[str] | NotGiven = NOT_GIVEN,
+ issue_class_neq: List[str] | NotGiven = NOT_GIVEN,
issue_type: List[IssueType] | NotGiven = NOT_GIVEN,
issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN,
page: int | NotGiven = NOT_GIVEN,
per_page: int | NotGiven = NOT_GIVEN,
- product: ProductParam | NotGiven = NOT_GIVEN,
- product_neq: ProductParam | NotGiven = NOT_GIVEN,
+ product: List[str] | NotGiven = NOT_GIVEN,
+ product_neq: List[str] | NotGiven = NOT_GIVEN,
severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
- subject: SubjectParam | NotGiven = NOT_GIVEN,
- subject_neq: SubjectParam | NotGiven = NOT_GIVEN,
+ subject: List[str] | NotGiven = NOT_GIVEN,
+ subject_neq: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -134,16 +131,16 @@ def class_(
*,
account_id: str,
dismissed: bool | NotGiven = NOT_GIVEN,
- issue_class: IssueClassParam | NotGiven = NOT_GIVEN,
- issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN,
+ issue_class: List[str] | NotGiven = NOT_GIVEN,
+ issue_class_neq: List[str] | NotGiven = NOT_GIVEN,
issue_type: List[IssueType] | NotGiven = NOT_GIVEN,
issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN,
- product: ProductParam | NotGiven = NOT_GIVEN,
- product_neq: ProductParam | NotGiven = NOT_GIVEN,
+ product: List[str] | NotGiven = NOT_GIVEN,
+ product_neq: List[str] | NotGiven = NOT_GIVEN,
severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
- subject: SubjectParam | NotGiven = NOT_GIVEN,
- subject_neq: SubjectParam | NotGiven = NOT_GIVEN,
+ subject: List[str] | NotGiven = NOT_GIVEN,
+ subject_neq: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -249,16 +246,16 @@ def severity(
*,
account_id: str,
dismissed: bool | NotGiven = NOT_GIVEN,
- issue_class: IssueClassParam | NotGiven = NOT_GIVEN,
- issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN,
+ issue_class: List[str] | NotGiven = NOT_GIVEN,
+ issue_class_neq: List[str] | NotGiven = NOT_GIVEN,
issue_type: List[IssueType] | NotGiven = NOT_GIVEN,
issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN,
- product: ProductParam | NotGiven = NOT_GIVEN,
- product_neq: ProductParam | NotGiven = NOT_GIVEN,
+ product: List[str] | NotGiven = NOT_GIVEN,
+ product_neq: List[str] | NotGiven = NOT_GIVEN,
severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
- subject: SubjectParam | NotGiven = NOT_GIVEN,
- subject_neq: SubjectParam | NotGiven = NOT_GIVEN,
+ subject: List[str] | NotGiven = NOT_GIVEN,
+ subject_neq: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -315,16 +312,16 @@ def type(
*,
account_id: str,
dismissed: bool | NotGiven = NOT_GIVEN,
- issue_class: IssueClassParam | NotGiven = NOT_GIVEN,
- issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN,
+ issue_class: List[str] | NotGiven = NOT_GIVEN,
+ issue_class_neq: List[str] | NotGiven = NOT_GIVEN,
issue_type: List[IssueType] | NotGiven = NOT_GIVEN,
issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN,
- product: ProductParam | NotGiven = NOT_GIVEN,
- product_neq: ProductParam | NotGiven = NOT_GIVEN,
+ product: List[str] | NotGiven = NOT_GIVEN,
+ product_neq: List[str] | NotGiven = NOT_GIVEN,
severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
- subject: SubjectParam | NotGiven = NOT_GIVEN,
- subject_neq: SubjectParam | NotGiven = NOT_GIVEN,
+ subject: List[str] | NotGiven = NOT_GIVEN,
+ subject_neq: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -391,18 +388,18 @@ def list(
*,
account_id: str,
dismissed: bool | NotGiven = NOT_GIVEN,
- issue_class: IssueClassParam | NotGiven = NOT_GIVEN,
- issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN,
+ issue_class: List[str] | NotGiven = NOT_GIVEN,
+ issue_class_neq: List[str] | NotGiven = NOT_GIVEN,
issue_type: List[IssueType] | NotGiven = NOT_GIVEN,
issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN,
page: int | NotGiven = NOT_GIVEN,
per_page: int | NotGiven = NOT_GIVEN,
- product: ProductParam | NotGiven = NOT_GIVEN,
- product_neq: ProductParam | NotGiven = NOT_GIVEN,
+ product: List[str] | NotGiven = NOT_GIVEN,
+ product_neq: List[str] | NotGiven = NOT_GIVEN,
severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
- subject: SubjectParam | NotGiven = NOT_GIVEN,
- subject_neq: SubjectParam | NotGiven = NOT_GIVEN,
+ subject: List[str] | NotGiven = NOT_GIVEN,
+ subject_neq: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -465,16 +462,16 @@ async def class_(
*,
account_id: str,
dismissed: bool | NotGiven = NOT_GIVEN,
- issue_class: IssueClassParam | NotGiven = NOT_GIVEN,
- issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN,
+ issue_class: List[str] | NotGiven = NOT_GIVEN,
+ issue_class_neq: List[str] | NotGiven = NOT_GIVEN,
issue_type: List[IssueType] | NotGiven = NOT_GIVEN,
issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN,
- product: ProductParam | NotGiven = NOT_GIVEN,
- product_neq: ProductParam | NotGiven = NOT_GIVEN,
+ product: List[str] | NotGiven = NOT_GIVEN,
+ product_neq: List[str] | NotGiven = NOT_GIVEN,
severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
- subject: SubjectParam | NotGiven = NOT_GIVEN,
- subject_neq: SubjectParam | NotGiven = NOT_GIVEN,
+ subject: List[str] | NotGiven = NOT_GIVEN,
+ subject_neq: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -580,16 +577,16 @@ async def severity(
*,
account_id: str,
dismissed: bool | NotGiven = NOT_GIVEN,
- issue_class: IssueClassParam | NotGiven = NOT_GIVEN,
- issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN,
+ issue_class: List[str] | NotGiven = NOT_GIVEN,
+ issue_class_neq: List[str] | NotGiven = NOT_GIVEN,
issue_type: List[IssueType] | NotGiven = NOT_GIVEN,
issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN,
- product: ProductParam | NotGiven = NOT_GIVEN,
- product_neq: ProductParam | NotGiven = NOT_GIVEN,
+ product: List[str] | NotGiven = NOT_GIVEN,
+ product_neq: List[str] | NotGiven = NOT_GIVEN,
severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
- subject: SubjectParam | NotGiven = NOT_GIVEN,
- subject_neq: SubjectParam | NotGiven = NOT_GIVEN,
+ subject: List[str] | NotGiven = NOT_GIVEN,
+ subject_neq: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -646,16 +643,16 @@ async def type(
*,
account_id: str,
dismissed: bool | NotGiven = NOT_GIVEN,
- issue_class: IssueClassParam | NotGiven = NOT_GIVEN,
- issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN,
+ issue_class: List[str] | NotGiven = NOT_GIVEN,
+ issue_class_neq: List[str] | NotGiven = NOT_GIVEN,
issue_type: List[IssueType] | NotGiven = NOT_GIVEN,
issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN,
- product: ProductParam | NotGiven = NOT_GIVEN,
- product_neq: ProductParam | NotGiven = NOT_GIVEN,
+ product: List[str] | NotGiven = NOT_GIVEN,
+ product_neq: List[str] | NotGiven = NOT_GIVEN,
severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
- subject: SubjectParam | NotGiven = NOT_GIVEN,
- subject_neq: SubjectParam | NotGiven = NOT_GIVEN,
+ subject: List[str] | NotGiven = NOT_GIVEN,
+ subject_neq: List[str] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
diff --git a/src/cloudflare/resources/keyless_certificates.py b/src/cloudflare/resources/keyless_certificates.py
index 9f805b11e3e..21eda129c59 100644
--- a/src/cloudflare/resources/keyless_certificates.py
+++ b/src/cloudflare/resources/keyless_certificates.py
@@ -26,11 +26,7 @@
make_request_options,
)
from ..types.custom_hostnames import BundleMethod
-from ..types.keyless_certificates import (
- keyless_certificate_edit_params,
- keyless_certificate_create_params,
- keyless_certificate_delete_params,
-)
+from ..types.keyless_certificates import keyless_certificate_edit_params, keyless_certificate_create_params
from ..types.custom_hostnames.bundle_method import BundleMethod
from ..types.keyless_certificates.tunnel_param import TunnelParam
from ..types.keyless_certificates.keyless_certificate import KeylessCertificate
@@ -161,7 +157,6 @@ def delete(
keyless_certificate_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -193,7 +188,6 @@ def delete(
)
return self._delete(
f"/zones/{zone_id}/keyless_certificates/{keyless_certificate_id}",
- body=maybe_transform(body, keyless_certificate_delete_params.KeylessCertificateDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -447,7 +441,6 @@ async def delete(
keyless_certificate_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -479,7 +472,6 @@ async def delete(
)
return await self._delete(
f"/zones/{zone_id}/keyless_certificates/{keyless_certificate_id}",
- body=await async_maybe_transform(body, keyless_certificate_delete_params.KeylessCertificateDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/kv/namespaces/bulk.py b/src/cloudflare/resources/kv/namespaces/bulk.py
index 0df5b19e076..9c9ee270e5c 100644
--- a/src/cloudflare/resources/kv/namespaces/bulk.py
+++ b/src/cloudflare/resources/kv/namespaces/bulk.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from typing import Any, List, Iterable, cast
+from typing import Any, Iterable, cast
import httpx
@@ -23,7 +23,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.kv.namespaces import bulk_delete_params, bulk_update_params
+from ....types.kv.namespaces import bulk_update_params
from ....types.kv.namespaces.bulk_delete_response import BulkDeleteResponse
from ....types.kv.namespaces.bulk_update_response import BulkUpdateResponse
@@ -101,7 +101,6 @@ def delete(
namespace_id: str,
*,
account_id: str,
- body: List[str],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -135,7 +134,6 @@ def delete(
BulkDeleteResponse,
self._delete(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk",
- body=maybe_transform(body, bulk_delete_params.BulkDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -221,7 +219,6 @@ async def delete(
namespace_id: str,
*,
account_id: str,
- body: List[str],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -255,7 +252,6 @@ async def delete(
BulkDeleteResponse,
await self._delete(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk",
- body=await async_maybe_transform(body, bulk_delete_params.BulkDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/kv/namespaces/namespaces.py b/src/cloudflare/resources/kv/namespaces/namespaces.py
index 0eda74e6c1c..ae2f40cc23f 100644
--- a/src/cloudflare/resources/kv/namespaces/namespaces.py
+++ b/src/cloudflare/resources/kv/namespaces/namespaces.py
@@ -45,12 +45,7 @@
async_maybe_transform,
)
from ...._compat import cached_property
-from ....types.kv import (
- namespace_list_params,
- namespace_create_params,
- namespace_delete_params,
- namespace_update_params,
-)
+from ....types.kv import namespace_list_params, namespace_create_params, namespace_update_params
from ...._resource import SyncAPIResource, AsyncAPIResource
from ...._response import (
to_raw_response_wrapper,
@@ -260,7 +255,6 @@ def delete(
namespace_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -292,7 +286,6 @@ def delete(
NamespaceDeleteResponse,
self._delete(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}",
- body=maybe_transform(body, namespace_delete_params.NamespaceDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -496,7 +489,6 @@ async def delete(
namespace_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -528,7 +520,6 @@ async def delete(
NamespaceDeleteResponse,
await self._delete(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}",
- body=await async_maybe_transform(body, namespace_delete_params.NamespaceDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/kv/namespaces/values.py b/src/cloudflare/resources/kv/namespaces/values.py
index 358a679aaf9..011fb16adde 100644
--- a/src/cloudflare/resources/kv/namespaces/values.py
+++ b/src/cloudflare/resources/kv/namespaces/values.py
@@ -23,7 +23,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.kv.namespaces import value_delete_params, value_update_params
+from ....types.kv.namespaces import value_update_params
from ....types.kv.namespaces.value_delete_response import ValueDeleteResponse
from ....types.kv.namespaces.value_update_response import ValueUpdateResponse
@@ -119,7 +119,6 @@ def delete(
*,
account_id: str,
namespace_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -158,7 +157,6 @@ def delete(
ValueDeleteResponse,
self._delete(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/values/{key_name}",
- body=maybe_transform(body, value_delete_params.ValueDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -313,7 +311,6 @@ async def delete(
*,
account_id: str,
namespace_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -352,7 +349,6 @@ async def delete(
ValueDeleteResponse,
await self._delete(
f"/accounts/{account_id}/storage/kv/namespaces/{namespace_id}/values/{key_name}",
- body=await async_maybe_transform(body, value_delete_params.ValueDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/load_balancers/load_balancers.py b/src/cloudflare/resources/load_balancers/load_balancers.py
index 829ffadc328..f63334101c1 100644
--- a/src/cloudflare/resources/load_balancers/load_balancers.py
+++ b/src/cloudflare/resources/load_balancers/load_balancers.py
@@ -71,7 +71,6 @@
from ...types.load_balancers import (
load_balancer_edit_params,
load_balancer_create_params,
- load_balancer_delete_params,
load_balancer_update_params,
)
from ...types.load_balancers.rules_param import RulesParam
@@ -557,7 +556,6 @@ def delete(
load_balancer_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -583,7 +581,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `load_balancer_id` but received {load_balancer_id!r}")
return self._delete(
f"/zones/{zone_id}/load_balancers/{load_balancer_id}",
- body=maybe_transform(body, load_balancer_delete_params.LoadBalancerDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -1311,7 +1308,6 @@ async def delete(
load_balancer_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -1337,7 +1333,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `load_balancer_id` but received {load_balancer_id!r}")
return await self._delete(
f"/zones/{zone_id}/load_balancers/{load_balancer_id}",
- body=await async_maybe_transform(body, load_balancer_delete_params.LoadBalancerDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/load_balancers/monitors/monitors.py b/src/cloudflare/resources/load_balancers/monitors/monitors.py
index 1a963337a6d..d416ac7f341 100644
--- a/src/cloudflare/resources/load_balancers/monitors/monitors.py
+++ b/src/cloudflare/resources/load_balancers/monitors/monitors.py
@@ -42,12 +42,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.load_balancers import (
- monitor_edit_params,
- monitor_create_params,
- monitor_delete_params,
- monitor_update_params,
-)
+from ....types.load_balancers import monitor_edit_params, monitor_create_params, monitor_update_params
from ....types.load_balancers.monitor import Monitor
from ....types.load_balancers.monitor_delete_response import MonitorDeleteResponse
@@ -365,7 +360,6 @@ def delete(
monitor_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -393,7 +387,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `monitor_id` but received {monitor_id!r}")
return self._delete(
f"/accounts/{account_id}/load_balancers/monitors/{monitor_id}",
- body=maybe_transform(body, monitor_delete_params.MonitorDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -886,7 +879,6 @@ async def delete(
monitor_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -914,7 +906,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `monitor_id` but received {monitor_id!r}")
return await self._delete(
f"/accounts/{account_id}/load_balancers/monitors/{monitor_id}",
- body=await async_maybe_transform(body, monitor_delete_params.MonitorDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/load_balancers/pools/pools.py b/src/cloudflare/resources/load_balancers/pools/pools.py
index f72a395e9fb..1652a3bed56 100644
--- a/src/cloudflare/resources/load_balancers/pools/pools.py
+++ b/src/cloudflare/resources/load_balancers/pools/pools.py
@@ -45,7 +45,6 @@
pool_edit_params,
pool_list_params,
pool_create_params,
- pool_delete_params,
pool_update_params,
)
from ....types.load_balancers.pool import Pool
@@ -347,7 +346,6 @@ def delete(
pool_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -375,7 +373,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `pool_id` but received {pool_id!r}")
return self._delete(
f"/accounts/{account_id}/load_balancers/pools/{pool_id}",
- body=maybe_transform(body, pool_delete_params.PoolDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -832,7 +829,6 @@ async def delete(
pool_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -860,7 +856,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `pool_id` but received {pool_id!r}")
return await self._delete(
f"/accounts/{account_id}/load_balancers/pools/{pool_id}",
- body=await async_maybe_transform(body, pool_delete_params.PoolDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/logpush/jobs.py b/src/cloudflare/resources/logpush/jobs.py
index 1262ffd13fd..68d0a5dade2 100644
--- a/src/cloudflare/resources/logpush/jobs.py
+++ b/src/cloudflare/resources/logpush/jobs.py
@@ -26,7 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.logpush import job_create_params, job_delete_params, job_update_params
+from ...types.logpush import job_create_params, job_update_params
from ...types.logpush.logpush_job import LogpushJob
from ...types.logpush.output_options_param import OutputOptionsParam
@@ -288,7 +288,6 @@ def delete(
self,
job_id: int,
*,
- body: object,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -330,7 +329,6 @@ def delete(
account_or_zone_id = zone_id
return self._delete(
f"/{account_or_zone}/{account_or_zone_id}/logpush/jobs/{job_id}",
- body=maybe_transform(body, job_delete_params.JobDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -652,7 +650,6 @@ async def delete(
self,
job_id: int,
*,
- body: object,
account_id: str | NotGiven = NOT_GIVEN,
zone_id: str | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -694,7 +691,6 @@ async def delete(
account_or_zone_id = zone_id
return await self._delete(
f"/{account_or_zone}/{account_or_zone_id}/logpush/jobs/{job_id}",
- body=await async_maybe_transform(body, job_delete_params.JobDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/logs/control/cmb/config.py b/src/cloudflare/resources/logs/control/cmb/config.py
index 3c13ce3f56e..b1c4353d078 100644
--- a/src/cloudflare/resources/logs/control/cmb/config.py
+++ b/src/cloudflare/resources/logs/control/cmb/config.py
@@ -23,7 +23,7 @@
from ....._base_client import (
make_request_options,
)
-from .....types.logs.control.cmb import config_create_params, config_delete_params
+from .....types.logs.control.cmb import config_create_params
from .....types.logs.control.cmb.cmb_config import CmbConfig
__all__ = ["ConfigResource", "AsyncConfigResource"]
@@ -85,7 +85,6 @@ def delete(
self,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -111,7 +110,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return self._delete(
f"/accounts/{account_id}/logs/control/cmb/config",
- body=maybe_transform(body, config_delete_params.ConfigDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -218,7 +216,6 @@ async def delete(
self,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -244,7 +241,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return await self._delete(
f"/accounts/{account_id}/logs/control/cmb/config",
- body=await async_maybe_transform(body, config_delete_params.ConfigDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/magic_network_monitoring/configs/configs.py b/src/cloudflare/resources/magic_network_monitoring/configs/configs.py
index aa26e9f620f..c5588ee35fb 100644
--- a/src/cloudflare/resources/magic_network_monitoring/configs/configs.py
+++ b/src/cloudflare/resources/magic_network_monitoring/configs/configs.py
@@ -31,12 +31,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.magic_network_monitoring import (
- config_edit_params,
- config_create_params,
- config_delete_params,
- config_update_params,
-)
+from ....types.magic_network_monitoring import config_edit_params, config_create_params, config_update_params
from ....types.magic_network_monitoring.configuration import Configuration
__all__ = ["ConfigsResource", "AsyncConfigsResource"]
@@ -138,7 +133,6 @@ def delete(
self,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -162,7 +156,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return self._delete(
f"/accounts/{account_id}/mnm/config",
- body=maybe_transform(body, config_delete_params.ConfigDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -346,7 +339,6 @@ async def delete(
self,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -370,7 +362,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return await self._delete(
f"/accounts/{account_id}/mnm/config",
- body=await async_maybe_transform(body, config_delete_params.ConfigDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/magic_network_monitoring/rules/rules.py b/src/cloudflare/resources/magic_network_monitoring/rules/rules.py
index fb7429d9f99..5d1deee2646 100644
--- a/src/cloudflare/resources/magic_network_monitoring/rules/rules.py
+++ b/src/cloudflare/resources/magic_network_monitoring/rules/rules.py
@@ -33,12 +33,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.magic_network_monitoring import (
- rule_edit_params,
- rule_create_params,
- rule_delete_params,
- rule_update_params,
-)
+from ....types.magic_network_monitoring import rule_edit_params, rule_create_params, rule_update_params
from ....types.magic_network_monitoring.magic_network_monitoring_rule import MagicNetworkMonitoringRule
__all__ = ["RulesResource", "AsyncRulesResource"]
@@ -176,7 +171,6 @@ def delete(
rule_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -204,7 +198,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `rule_id` but received {rule_id!r}")
return self._delete(
f"/accounts/{account_id}/mnm/rules/{rule_id}",
- body=maybe_transform(body, rule_delete_params.RuleDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -434,7 +427,6 @@ async def delete(
rule_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -462,7 +454,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `rule_id` but received {rule_id!r}")
return await self._delete(
f"/accounts/{account_id}/mnm/rules/{rule_id}",
- body=await async_maybe_transform(body, rule_delete_params.RuleDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/magic_transit/gre_tunnels.py b/src/cloudflare/resources/magic_transit/gre_tunnels.py
index 02f978ed886..7129aeb334e 100644
--- a/src/cloudflare/resources/magic_transit/gre_tunnels.py
+++ b/src/cloudflare/resources/magic_transit/gre_tunnels.py
@@ -23,11 +23,7 @@
from ..._base_client import (
make_request_options,
)
-from ...types.magic_transit import (
- gre_tunnel_create_params,
- gre_tunnel_delete_params,
- gre_tunnel_update_params,
-)
+from ...types.magic_transit import gre_tunnel_create_params, gre_tunnel_update_params
from ...types.magic_transit.health_check_param import HealthCheckParam
from ...types.magic_transit.gre_tunnel_get_response import GRETunnelGetResponse
from ...types.magic_transit.gre_tunnel_list_response import GRETunnelListResponse
@@ -219,7 +215,6 @@ def delete(
tunnel_identifier: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -251,7 +246,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `tunnel_identifier` but received {tunnel_identifier!r}")
return self._delete(
f"/accounts/{account_id}/magic/gre_tunnels/{tunnel_identifier}",
- body=maybe_transform(body, gre_tunnel_delete_params.GRETunnelDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -488,7 +482,6 @@ async def delete(
tunnel_identifier: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -520,7 +513,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `tunnel_identifier` but received {tunnel_identifier!r}")
return await self._delete(
f"/accounts/{account_id}/magic/gre_tunnels/{tunnel_identifier}",
- body=await async_maybe_transform(body, gre_tunnel_delete_params.GRETunnelDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/magic_transit/ipsec_tunnels.py b/src/cloudflare/resources/magic_transit/ipsec_tunnels.py
index 12c21e755d4..02240b292b4 100644
--- a/src/cloudflare/resources/magic_transit/ipsec_tunnels.py
+++ b/src/cloudflare/resources/magic_transit/ipsec_tunnels.py
@@ -25,7 +25,6 @@
)
from ...types.magic_transit import (
ipsec_tunnel_create_params,
- ipsec_tunnel_delete_params,
ipsec_tunnel_update_params,
ipsec_tunnel_psk_generate_params,
)
@@ -260,7 +259,6 @@ def delete(
tunnel_identifier: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -292,7 +290,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `tunnel_identifier` but received {tunnel_identifier!r}")
return self._delete(
f"/accounts/{account_id}/magic/ipsec_tunnels/{tunnel_identifier}",
- body=maybe_transform(body, ipsec_tunnel_delete_params.IPSECTunnelDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -618,7 +615,6 @@ async def delete(
tunnel_identifier: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -650,7 +646,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `tunnel_identifier` but received {tunnel_identifier!r}")
return await self._delete(
f"/accounts/{account_id}/magic/ipsec_tunnels/{tunnel_identifier}",
- body=await async_maybe_transform(body, ipsec_tunnel_delete_params.IPSECTunnelDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/magic_transit/routes.py b/src/cloudflare/resources/magic_transit/routes.py
index 31cc36c643d..d8eef542fc5 100644
--- a/src/cloudflare/resources/magic_transit/routes.py
+++ b/src/cloudflare/resources/magic_transit/routes.py
@@ -2,7 +2,7 @@
from __future__ import annotations
-from typing import Type, Iterable, cast
+from typing import Type, cast
import httpx
@@ -23,12 +23,7 @@
from ..._base_client import (
make_request_options,
)
-from ...types.magic_transit import (
- route_empty_params,
- route_create_params,
- route_delete_params,
- route_update_params,
-)
+from ...types.magic_transit import route_create_params, route_update_params
from ...types.magic_transit.scope_param import ScopeParam
from ...types.magic_transit.route_get_response import RouteGetResponse
from ...types.magic_transit.route_list_response import RouteListResponse
@@ -211,7 +206,6 @@ def delete(
route_identifier: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -241,7 +235,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `route_identifier` but received {route_identifier!r}")
return self._delete(
f"/accounts/{account_id}/magic/routes/{route_identifier}",
- body=maybe_transform(body, route_delete_params.RouteDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -256,7 +249,6 @@ def empty(
self,
*,
account_id: str,
- routes: Iterable[route_empty_params.Route],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -282,7 +274,6 @@ def empty(
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return self._delete(
f"/accounts/{account_id}/magic/routes",
- body=maybe_transform({"routes": routes}, route_empty_params.RouteEmptyParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -509,7 +500,6 @@ async def delete(
route_identifier: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -539,7 +529,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `route_identifier` but received {route_identifier!r}")
return await self._delete(
f"/accounts/{account_id}/magic/routes/{route_identifier}",
- body=await async_maybe_transform(body, route_delete_params.RouteDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -554,7 +543,6 @@ async def empty(
self,
*,
account_id: str,
- routes: Iterable[route_empty_params.Route],
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -580,7 +568,6 @@ async def empty(
raise ValueError(f"Expected a non-empty value for `account_id` but received {account_id!r}")
return await self._delete(
f"/accounts/{account_id}/magic/routes",
- body=await async_maybe_transform({"routes": routes}, route_empty_params.RouteEmptyParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/magic_transit/sites/acls.py b/src/cloudflare/resources/magic_transit/sites/acls.py
index a58dd7a33db..4d850273bdf 100644
--- a/src/cloudflare/resources/magic_transit/sites/acls.py
+++ b/src/cloudflare/resources/magic_transit/sites/acls.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.magic_transit.sites import acl_create_params, acl_delete_params, acl_update_params
+from ....types.magic_transit.sites import acl_create_params, acl_update_params
from ....types.magic_transit.sites.acl import ACL
from ....types.magic_transit.sites.allowed_protocol import AllowedProtocol
from ....types.magic_transit.sites.acl_configuration_param import ACLConfigurationParam
@@ -234,7 +234,6 @@ def delete(
*,
account_id: str,
site_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -268,7 +267,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `acl_identifier` but received {acl_identifier!r}")
return self._delete(
f"/accounts/{account_id}/magic/sites/{site_id}/acls/{acl_identifier}",
- body=maybe_transform(body, acl_delete_params.ACLDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -530,7 +528,6 @@ async def delete(
*,
account_id: str,
site_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -564,7 +561,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `acl_identifier` but received {acl_identifier!r}")
return await self._delete(
f"/accounts/{account_id}/magic/sites/{site_id}/acls/{acl_identifier}",
- body=await async_maybe_transform(body, acl_delete_params.ACLDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/magic_transit/sites/lans.py b/src/cloudflare/resources/magic_transit/sites/lans.py
index 6eba19aed92..cdb2d94456a 100644
--- a/src/cloudflare/resources/magic_transit/sites/lans.py
+++ b/src/cloudflare/resources/magic_transit/sites/lans.py
@@ -25,11 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.magic_transit.sites import (
- lan_create_params,
- lan_delete_params,
- lan_update_params,
-)
+from ....types.magic_transit.sites import lan_create_params, lan_update_params
from ....types.magic_transit.sites.lan import LAN
from ....types.magic_transit.sites.nat_param import NatParam
from ....types.magic_transit.sites.lan_create_response import LANCreateResponse
@@ -241,7 +237,6 @@ def delete(
*,
account_id: str,
site_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -275,7 +270,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `lan_id` but received {lan_id!r}")
return self._delete(
f"/accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}",
- body=maybe_transform(body, lan_delete_params.LANDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -538,7 +532,6 @@ async def delete(
*,
account_id: str,
site_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -572,7 +565,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `lan_id` but received {lan_id!r}")
return await self._delete(
f"/accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}",
- body=await async_maybe_transform(body, lan_delete_params.LANDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/magic_transit/sites/sites.py b/src/cloudflare/resources/magic_transit/sites/sites.py
index fdb6388000c..b36d0ef691e 100644
--- a/src/cloudflare/resources/magic_transit/sites/sites.py
+++ b/src/cloudflare/resources/magic_transit/sites/sites.py
@@ -49,12 +49,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.magic_transit import (
- site_list_params,
- site_create_params,
- site_delete_params,
- site_update_params,
-)
+from ....types.magic_transit import site_list_params, site_create_params, site_update_params
from ....types.magic_transit.site import Site
from ....types.magic_transit.site_location_param import SiteLocationParam
@@ -267,7 +262,6 @@ def delete(
site_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -297,7 +291,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `site_id` but received {site_id!r}")
return self._delete(
f"/accounts/{account_id}/magic/sites/{site_id}",
- body=maybe_transform(body, site_delete_params.SiteDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -559,7 +552,6 @@ async def delete(
site_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -589,7 +581,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `site_id` but received {site_id!r}")
return await self._delete(
f"/accounts/{account_id}/magic/sites/{site_id}",
- body=await async_maybe_transform(body, site_delete_params.SiteDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/magic_transit/sites/wans.py b/src/cloudflare/resources/magic_transit/sites/wans.py
index 36a1cecd8b3..c41c8985728 100644
--- a/src/cloudflare/resources/magic_transit/sites/wans.py
+++ b/src/cloudflare/resources/magic_transit/sites/wans.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.magic_transit.sites import wan_create_params, wan_delete_params, wan_update_params
+from ....types.magic_transit.sites import wan_create_params, wan_update_params
from ....types.magic_transit.sites.wan import WAN
from ....types.magic_transit.sites.wan_create_response import WANCreateResponse
from ....types.magic_transit.sites.wan_static_addressing_param import WANStaticAddressingParam
@@ -222,7 +222,6 @@ def delete(
*,
account_id: str,
site_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -256,7 +255,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `wan_id` but received {wan_id!r}")
return self._delete(
f"/accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}",
- body=maybe_transform(body, wan_delete_params.WANDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -506,7 +504,6 @@ async def delete(
*,
account_id: str,
site_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -540,7 +537,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `wan_id` but received {wan_id!r}")
return await self._delete(
f"/accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}",
- body=await async_maybe_transform(body, wan_delete_params.WANDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/memberships.py b/src/cloudflare/resources/memberships.py
index 81efde2394b..aac512175a7 100644
--- a/src/cloudflare/resources/memberships.py
+++ b/src/cloudflare/resources/memberships.py
@@ -26,7 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ..types.memberships import membership_list_params, membership_delete_params, membership_update_params
+from ..types.memberships import membership_list_params, membership_update_params
from ..types.memberships.membership import Membership
from ..types.memberships.membership_get_response import MembershipGetResponse
from ..types.memberships.membership_delete_response import MembershipDeleteResponse
@@ -161,7 +161,6 @@ def delete(
self,
membership_id: str,
*,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -187,7 +186,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `membership_id` but received {membership_id!r}")
return self._delete(
f"/memberships/{membership_id}",
- body=maybe_transform(body, membership_delete_params.MembershipDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -369,7 +367,6 @@ async def delete(
self,
membership_id: str,
*,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -395,7 +392,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `membership_id` but received {membership_id!r}")
return await self._delete(
f"/memberships/{membership_id}",
- body=await async_maybe_transform(body, membership_delete_params.MembershipDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/mtls_certificates/mtls_certificates.py b/src/cloudflare/resources/mtls_certificates/mtls_certificates.py
index c5da4fc9b8e..e5c478132fa 100644
--- a/src/cloudflare/resources/mtls_certificates/mtls_certificates.py
+++ b/src/cloudflare/resources/mtls_certificates/mtls_certificates.py
@@ -33,7 +33,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.mtls_certificates import mtls_certificate_create_params, mtls_certificate_delete_params
+from ...types.mtls_certificates import mtls_certificate_create_params
from ...types.mtls_certificates.mtls_certificate import MTLSCertificate
from ...types.mtls_certificates.mtls_certificate_create_response import MTLSCertificateCreateResponse
@@ -154,7 +154,6 @@ def delete(
mtls_certificate_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -187,7 +186,6 @@ def delete(
)
return self._delete(
f"/accounts/{account_id}/mtls_certificates/{mtls_certificate_id}",
- body=maybe_transform(body, mtls_certificate_delete_params.MTLSCertificateDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -359,7 +357,6 @@ async def delete(
mtls_certificate_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -392,7 +389,6 @@ async def delete(
)
return await self._delete(
f"/accounts/{account_id}/mtls_certificates/{mtls_certificate_id}",
- body=await async_maybe_transform(body, mtls_certificate_delete_params.MTLSCertificateDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/origin_ca_certificates.py b/src/cloudflare/resources/origin_ca_certificates.py
index 1ffdea60be4..8434d75fbe1 100644
--- a/src/cloudflare/resources/origin_ca_certificates.py
+++ b/src/cloudflare/resources/origin_ca_certificates.py
@@ -26,11 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ..types.origin_ca_certificates import (
- origin_ca_certificate_list_params,
- origin_ca_certificate_create_params,
- origin_ca_certificate_delete_params,
-)
+from ..types.origin_ca_certificates import origin_ca_certificate_list_params, origin_ca_certificate_create_params
from ..types.origin_ca_certificates.origin_ca_certificate import OriginCACertificate
from ..types.origin_ca_certificates.origin_ca_certificate_get_response import OriginCACertificateGetResponse
from ..types.origin_ca_certificates.origin_ca_certificate_create_response import OriginCACertificateCreateResponse
@@ -159,7 +155,6 @@ def delete(
self,
certificate_id: str,
*,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -188,7 +183,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `certificate_id` but received {certificate_id!r}")
return self._delete(
f"/certificates/{certificate_id}",
- body=maybe_transform(body, origin_ca_certificate_delete_params.OriginCACertificateDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -367,7 +361,6 @@ async def delete(
self,
certificate_id: str,
*,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -396,7 +389,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `certificate_id` but received {certificate_id!r}")
return await self._delete(
f"/certificates/{certificate_id}",
- body=await async_maybe_transform(body, origin_ca_certificate_delete_params.OriginCACertificateDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/origin_tls_client_auth/hostnames/certificates.py b/src/cloudflare/resources/origin_tls_client_auth/hostnames/certificates.py
index a46067f12cc..21d47211cf1 100644
--- a/src/cloudflare/resources/origin_tls_client_auth/hostnames/certificates.py
+++ b/src/cloudflare/resources/origin_tls_client_auth/hostnames/certificates.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.origin_tls_client_auth.hostnames import certificate_create_params, certificate_delete_params
+from ....types.origin_tls_client_auth.hostnames import certificate_create_params
from ....types.origin_tls_client_auth.authenticated_origin_pull import AuthenticatedOriginPull
from ....types.origin_tls_client_auth.hostnames.certificate_get_response import CertificateGetResponse
from ....types.origin_tls_client_auth.hostnames.certificate_create_response import CertificateCreateResponse
@@ -138,7 +138,6 @@ def delete(
certificate_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -168,7 +167,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `certificate_id` but received {certificate_id!r}")
return self._delete(
f"/zones/{zone_id}/origin_tls_client_auth/hostnames/certificates/{certificate_id}",
- body=maybe_transform(body, certificate_delete_params.CertificateDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -328,7 +326,6 @@ async def delete(
certificate_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -358,7 +355,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `certificate_id` but received {certificate_id!r}")
return await self._delete(
f"/zones/{zone_id}/origin_tls_client_auth/hostnames/certificates/{certificate_id}",
- body=await async_maybe_transform(body, certificate_delete_params.CertificateDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/origin_tls_client_auth/origin_tls_client_auth.py b/src/cloudflare/resources/origin_tls_client_auth/origin_tls_client_auth.py
index 5d0d50f7e9d..eddf2a9e2e8 100644
--- a/src/cloudflare/resources/origin_tls_client_auth/origin_tls_client_auth.py
+++ b/src/cloudflare/resources/origin_tls_client_auth/origin_tls_client_auth.py
@@ -42,7 +42,7 @@
make_request_options,
)
from .hostnames.hostnames import HostnamesResource, AsyncHostnamesResource
-from ...types.origin_tls_client_auth import origin_tls_client_auth_create_params, origin_tls_client_auth_delete_params
+from ...types.origin_tls_client_auth import origin_tls_client_auth_create_params
from ...types.origin_tls_client_auth.zone_authenticated_origin_pull import ZoneAuthenticatedOriginPull
from ...types.origin_tls_client_auth.origin_tls_client_auth_get_response import OriginTLSClientAuthGetResponse
from ...types.origin_tls_client_auth.origin_tls_client_auth_create_response import OriginTLSClientAuthCreateResponse
@@ -170,7 +170,6 @@ def delete(
certificate_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -202,7 +201,6 @@ def delete(
OriginTLSClientAuthDeleteResponse,
self._delete(
f"/zones/{zone_id}/origin_tls_client_auth/{certificate_id}",
- body=maybe_transform(body, origin_tls_client_auth_delete_params.OriginTLSClientAuthDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -385,7 +383,6 @@ async def delete(
certificate_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -417,9 +414,6 @@ async def delete(
OriginTLSClientAuthDeleteResponse,
await self._delete(
f"/zones/{zone_id}/origin_tls_client_auth/{certificate_id}",
- body=await async_maybe_transform(
- body, origin_tls_client_auth_delete_params.OriginTLSClientAuthDeleteParams
- ),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/pagerules/pagerules.py b/src/cloudflare/resources/pagerules/pagerules.py
index cc4dc3a4bdf..e27797213d8 100644
--- a/src/cloudflare/resources/pagerules/pagerules.py
+++ b/src/cloudflare/resources/pagerules/pagerules.py
@@ -36,7 +36,6 @@
pagerule_edit_params,
pagerule_list_params,
pagerule_create_params,
- pagerule_delete_params,
pagerule_update_params,
)
from ...types.pagerules.route_param import RouteParam
@@ -277,7 +276,6 @@ def delete(
pagerule_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -307,7 +305,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `pagerule_id` but received {pagerule_id!r}")
return self._delete(
f"/zones/{zone_id}/pagerules/{pagerule_id}",
- body=maybe_transform(body, pagerule_delete_params.PageruleDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -669,7 +666,6 @@ async def delete(
pagerule_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -699,7 +695,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `pagerule_id` but received {pagerule_id!r}")
return await self._delete(
f"/zones/{zone_id}/pagerules/{pagerule_id}",
- body=await async_maybe_transform(body, pagerule_delete_params.PageruleDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/pages/projects/deployments/deployments.py b/src/cloudflare/resources/pages/projects/deployments/deployments.py
index afc233c1feb..366eb26eacd 100644
--- a/src/cloudflare/resources/pages/projects/deployments/deployments.py
+++ b/src/cloudflare/resources/pages/projects/deployments/deployments.py
@@ -39,7 +39,6 @@
deployment_list_params,
deployment_retry_params,
deployment_create_params,
- deployment_delete_params,
deployment_rollback_params,
)
from .....types.pages.deployment import Deployment
@@ -165,7 +164,6 @@ def delete(
*,
account_id: str,
project_name: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -199,7 +197,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `deployment_id` but received {deployment_id!r}")
return self._delete(
f"/accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}",
- body=maybe_transform(body, deployment_delete_params.DeploymentDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
@@ -478,7 +475,6 @@ async def delete(
*,
account_id: str,
project_name: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -512,7 +508,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `deployment_id` but received {deployment_id!r}")
return await self._delete(
f"/accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}",
- body=await async_maybe_transform(body, deployment_delete_params.DeploymentDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
diff --git a/src/cloudflare/resources/pages/projects/domains.py b/src/cloudflare/resources/pages/projects/domains.py
index d968c436061..65054b9aa45 100644
--- a/src/cloudflare/resources/pages/projects/domains.py
+++ b/src/cloudflare/resources/pages/projects/domains.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.pages.projects import domain_edit_params, domain_create_params, domain_delete_params
+from ....types.pages.projects import domain_edit_params, domain_create_params
from ....types.pages.projects.domain_get_response import DomainGetResponse
from ....types.pages.projects.domain_edit_response import DomainEditResponse
from ....types.pages.projects.domain_create_response import DomainCreateResponse
@@ -140,7 +140,6 @@ def delete(
*,
account_id: str,
project_name: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -174,7 +173,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `domain_name` but received {domain_name!r}")
return self._delete(
f"/accounts/{account_id}/pages/projects/{project_name}/domains/{domain_name}",
- body=maybe_transform(body, domain_delete_params.DomainDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
@@ -399,7 +397,6 @@ async def delete(
*,
account_id: str,
project_name: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -433,7 +430,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `domain_name` but received {domain_name!r}")
return await self._delete(
f"/accounts/{account_id}/pages/projects/{project_name}/domains/{domain_name}",
- body=await async_maybe_transform(body, domain_delete_params.DomainDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
diff --git a/src/cloudflare/resources/pages/projects/projects.py b/src/cloudflare/resources/pages/projects/projects.py
index d2090062d4f..09b5912fffb 100644
--- a/src/cloudflare/resources/pages/projects/projects.py
+++ b/src/cloudflare/resources/pages/projects/projects.py
@@ -37,7 +37,7 @@
)
from ...._wrappers import ResultWrapper
from ....pagination import SyncSinglePage, AsyncSinglePage
-from ....types.pages import Deployment, project_edit_params, project_create_params, project_delete_params
+from ....types.pages import Deployment, project_edit_params, project_create_params
from ...._base_client import (
AsyncPaginator,
make_request_options,
@@ -179,7 +179,6 @@ def delete(
project_name: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -209,7 +208,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `project_name` but received {project_name!r}")
return self._delete(
f"/accounts/{account_id}/pages/projects/{project_name}",
- body=maybe_transform(body, project_delete_params.ProjectDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
@@ -481,7 +479,6 @@ async def delete(
project_name: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -511,7 +508,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `project_name` but received {project_name!r}")
return await self._delete(
f"/accounts/{account_id}/pages/projects/{project_name}",
- body=await async_maybe_transform(body, project_delete_params.ProjectDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
diff --git a/src/cloudflare/resources/queues/consumers.py b/src/cloudflare/resources/queues/consumers.py
index b7b0ce5e999..9854d15ce64 100644
--- a/src/cloudflare/resources/queues/consumers.py
+++ b/src/cloudflare/resources/queues/consumers.py
@@ -23,7 +23,7 @@
from ..._base_client import (
make_request_options,
)
-from ...types.queues import consumer_create_params, consumer_delete_params, consumer_update_params
+from ...types.queues import consumer_create_params, consumer_update_params
from ...types.queues.consumer_get_response import ConsumerGetResponse
from ...types.queues.consumer_create_response import ConsumerCreateResponse
from ...types.queues.consumer_delete_response import ConsumerDeleteResponse
@@ -144,7 +144,6 @@ def delete(
*,
account_id: str,
queue_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -180,7 +179,6 @@ def delete(
Optional[ConsumerDeleteResponse],
self._delete(
f"/accounts/{account_id}/queues/{queue_id}/consumers/{consumer_id}",
- body=maybe_transform(body, consumer_delete_params.ConsumerDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -351,7 +349,6 @@ async def delete(
*,
account_id: str,
queue_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -387,7 +384,6 @@ async def delete(
Optional[ConsumerDeleteResponse],
await self._delete(
f"/accounts/{account_id}/queues/{queue_id}/consumers/{consumer_id}",
- body=await async_maybe_transform(body, consumer_delete_params.ConsumerDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/queues/queues.py b/src/cloudflare/resources/queues/queues.py
index f2fcb6c814c..39a6012d574 100644
--- a/src/cloudflare/resources/queues/queues.py
+++ b/src/cloudflare/resources/queues/queues.py
@@ -41,7 +41,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.queues import queue_create_params, queue_delete_params, queue_update_params
+from ...types.queues import queue_create_params, queue_update_params
from ...types.queues.queue import Queue
from ...types.queues.queue_created import QueueCreated
from ...types.queues.queue_updated import QueueUpdated
@@ -195,7 +195,6 @@ def delete(
queue_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -227,7 +226,6 @@ def delete(
Optional[QueueDeleteResponse],
self._delete(
f"/accounts/{account_id}/queues/{queue_id}",
- body=maybe_transform(body, queue_delete_params.QueueDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -431,7 +429,6 @@ async def delete(
queue_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -463,7 +460,6 @@ async def delete(
Optional[QueueDeleteResponse],
await self._delete(
f"/accounts/{account_id}/queues/{queue_id}",
- body=await async_maybe_transform(body, queue_delete_params.QueueDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/rate_limits.py b/src/cloudflare/resources/rate_limits.py
index 0cd9e9f3118..caae09d9f21 100644
--- a/src/cloudflare/resources/rate_limits.py
+++ b/src/cloudflare/resources/rate_limits.py
@@ -25,12 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ..types.rate_limits import (
- rate_limit_edit_params,
- rate_limit_list_params,
- rate_limit_create_params,
- rate_limit_delete_params,
-)
+from ..types.rate_limits import rate_limit_edit_params, rate_limit_list_params, rate_limit_create_params
from ..types.rate_limits.rate_limit import RateLimit
from ..types.rate_limits.rate_limit_get_response import RateLimitGetResponse
from ..types.rate_limits.rate_limit_edit_response import RateLimitEditResponse
@@ -155,7 +150,6 @@ def delete(
id: str,
*,
zone_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -185,7 +179,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return self._delete(
f"/zones/{zone_identifier}/rate_limits/{id}",
- body=maybe_transform(body, rate_limit_delete_params.RateLimitDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -412,7 +405,6 @@ async def delete(
id: str,
*,
zone_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -442,7 +434,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return await self._delete(
f"/zones/{zone_identifier}/rate_limits/{id}",
- body=await async_maybe_transform(body, rate_limit_delete_params.RateLimitDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/rules/lists/items.py b/src/cloudflare/resources/rules/lists/items.py
index 40d4f5062cc..7e101796486 100644
--- a/src/cloudflare/resources/rules/lists/items.py
+++ b/src/cloudflare/resources/rules/lists/items.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.rules.lists import item_list_params, item_create_params, item_delete_params, item_update_params
+from ....types.rules.lists import item_list_params, item_create_params, item_update_params
from ....types.rules.lists.item_get_response import ItemGetResponse
from ....types.rules.lists.item_create_response import ItemCreateResponse
from ....types.rules.lists.item_delete_response import ItemDeleteResponse
@@ -218,7 +218,6 @@ def delete(
list_id: str,
*,
account_id: str,
- items: Iterable[item_delete_params.Item] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -253,7 +252,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `list_id` but received {list_id!r}")
return self._delete(
f"/accounts/{account_id}/rules/lists/{list_id}/items",
- body=maybe_transform({"items": items}, item_delete_params.ItemDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -503,7 +501,6 @@ async def delete(
list_id: str,
*,
account_id: str,
- items: Iterable[item_delete_params.Item] | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -538,7 +535,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `list_id` but received {list_id!r}")
return await self._delete(
f"/accounts/{account_id}/rules/lists/{list_id}/items",
- body=await async_maybe_transform({"items": items}, item_delete_params.ItemDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/rules/lists/lists.py b/src/cloudflare/resources/rules/lists/lists.py
index e871dfed56a..31f16742c7d 100644
--- a/src/cloudflare/resources/rules/lists/lists.py
+++ b/src/cloudflare/resources/rules/lists/lists.py
@@ -30,7 +30,7 @@
)
from ...._wrappers import ResultWrapper
from ....pagination import SyncSinglePage, AsyncSinglePage
-from ....types.rules import list_create_params, list_delete_params, list_update_params
+from ....types.rules import list_create_params, list_update_params
from ...._base_client import (
AsyncPaginator,
make_request_options,
@@ -212,7 +212,6 @@ def delete(
list_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -242,7 +241,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `list_id` but received {list_id!r}")
return self._delete(
f"/accounts/{account_id}/rules/lists/{list_id}",
- body=maybe_transform(body, list_delete_params.ListDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -461,7 +459,6 @@ async def delete(
list_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -491,7 +488,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `list_id` but received {list_id!r}")
return await self._delete(
f"/accounts/{account_id}/rules/lists/{list_id}",
- body=await async_maybe_transform(body, list_delete_params.ListDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/secondary_dns/acls.py b/src/cloudflare/resources/secondary_dns/acls.py
index 8041320f105..ec5c89c6865 100644
--- a/src/cloudflare/resources/secondary_dns/acls.py
+++ b/src/cloudflare/resources/secondary_dns/acls.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.secondary_dns import acl_create_params, acl_delete_params, acl_update_params
+from ...types.secondary_dns import acl_create_params, acl_update_params
from ...types.secondary_dns.acl import ACL
from ...types.secondary_dns.acl_delete_response import ACLDeleteResponse
@@ -176,7 +176,6 @@ def delete(
acl_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -202,7 +201,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `acl_id` but received {acl_id!r}")
return self._delete(
f"/accounts/{account_id}/secondary_dns/acls/{acl_id}",
- body=maybe_transform(body, acl_delete_params.ACLDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -398,7 +396,6 @@ async def delete(
acl_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -424,7 +421,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `acl_id` but received {acl_id!r}")
return await self._delete(
f"/accounts/{account_id}/secondary_dns/acls/{acl_id}",
- body=await async_maybe_transform(body, acl_delete_params.ACLDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/secondary_dns/incoming.py b/src/cloudflare/resources/secondary_dns/incoming.py
index 6d5bc100692..1b6e5aa3d6a 100644
--- a/src/cloudflare/resources/secondary_dns/incoming.py
+++ b/src/cloudflare/resources/secondary_dns/incoming.py
@@ -23,7 +23,7 @@
from ..._base_client import (
make_request_options,
)
-from ...types.secondary_dns import incoming_create_params, incoming_delete_params, incoming_update_params
+from ...types.secondary_dns import incoming_create_params, incoming_update_params
from ...types.secondary_dns.incoming_get_response import IncomingGetResponse
from ...types.secondary_dns.incoming_create_response import IncomingCreateResponse
from ...types.secondary_dns.incoming_delete_response import IncomingDeleteResponse
@@ -155,7 +155,6 @@ def delete(
self,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -179,7 +178,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return self._delete(
f"/zones/{zone_id}/secondary_dns/incoming",
- body=maybe_transform(body, incoming_delete_params.IncomingDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -351,7 +349,6 @@ async def delete(
self,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -375,7 +372,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return await self._delete(
f"/zones/{zone_id}/secondary_dns/incoming",
- body=await async_maybe_transform(body, incoming_delete_params.IncomingDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/secondary_dns/outgoing/outgoing.py b/src/cloudflare/resources/secondary_dns/outgoing/outgoing.py
index d330c9bd0e0..080b2ce8f1a 100644
--- a/src/cloudflare/resources/secondary_dns/outgoing/outgoing.py
+++ b/src/cloudflare/resources/secondary_dns/outgoing/outgoing.py
@@ -33,7 +33,6 @@
)
from ....types.secondary_dns import (
outgoing_create_params,
- outgoing_delete_params,
outgoing_enable_params,
outgoing_update_params,
outgoing_disable_params,
@@ -167,7 +166,6 @@ def delete(
self,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -191,7 +189,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return self._delete(
f"/zones/{zone_id}/secondary_dns/outgoing",
- body=maybe_transform(body, outgoing_delete_params.OutgoingDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -475,7 +472,6 @@ async def delete(
self,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -499,7 +495,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `zone_id` but received {zone_id!r}")
return await self._delete(
f"/zones/{zone_id}/secondary_dns/outgoing",
- body=await async_maybe_transform(body, outgoing_delete_params.OutgoingDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/secondary_dns/peers.py b/src/cloudflare/resources/secondary_dns/peers.py
index 7e1d1344036..843cf963c96 100644
--- a/src/cloudflare/resources/secondary_dns/peers.py
+++ b/src/cloudflare/resources/secondary_dns/peers.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.secondary_dns import peer_create_params, peer_delete_params, peer_update_params
+from ...types.secondary_dns import peer_create_params, peer_update_params
from ...types.secondary_dns.peer import Peer
from ...types.secondary_dns.peer_delete_response import PeerDeleteResponse
@@ -190,7 +190,6 @@ def delete(
peer_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -216,7 +215,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `peer_id` but received {peer_id!r}")
return self._delete(
f"/accounts/{account_id}/secondary_dns/peers/{peer_id}",
- body=maybe_transform(body, peer_delete_params.PeerDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -426,7 +424,6 @@ async def delete(
peer_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -452,7 +449,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `peer_id` but received {peer_id!r}")
return await self._delete(
f"/accounts/{account_id}/secondary_dns/peers/{peer_id}",
- body=await async_maybe_transform(body, peer_delete_params.PeerDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/secondary_dns/tsigs.py b/src/cloudflare/resources/secondary_dns/tsigs.py
index f1e73271efd..90ba72b0053 100644
--- a/src/cloudflare/resources/secondary_dns/tsigs.py
+++ b/src/cloudflare/resources/secondary_dns/tsigs.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.secondary_dns import tsig_create_params, tsig_delete_params, tsig_update_params
+from ...types.secondary_dns import tsig_create_params, tsig_update_params
from ...types.secondary_dns.tsig import TSIG
from ...types.secondary_dns.tsig_delete_response import TSIGDeleteResponse
@@ -191,7 +191,6 @@ def delete(
tsig_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -217,7 +216,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `tsig_id` but received {tsig_id!r}")
return self._delete(
f"/accounts/{account_id}/secondary_dns/tsigs/{tsig_id}",
- body=maybe_transform(body, tsig_delete_params.TSIGDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -428,7 +426,6 @@ async def delete(
tsig_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -454,7 +451,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `tsig_id` but received {tsig_id!r}")
return await self._delete(
f"/accounts/{account_id}/secondary_dns/tsigs/{tsig_id}",
- body=await async_maybe_transform(body, tsig_delete_params.TSIGDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/spectrum/apps.py b/src/cloudflare/resources/spectrum/apps.py
index 625cbb07ce5..2d29796de6e 100644
--- a/src/cloudflare/resources/spectrum/apps.py
+++ b/src/cloudflare/resources/spectrum/apps.py
@@ -26,12 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.spectrum import (
- app_list_params,
- app_create_params,
- app_delete_params,
- app_update_params,
-)
+from ...types.spectrum import app_list_params, app_create_params, app_update_params
from ...types.spectrum.dns_param import DNSParam
from ...types.spectrum.edge_ips_param import EdgeIPsParam
from ...types.spectrum.app_get_response import AppGetResponse
@@ -323,7 +318,6 @@ def delete(
app_id: str,
*,
zone: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -353,7 +347,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `app_id` but received {app_id!r}")
return self._delete(
f"/zones/{zone}/spectrum/apps/{app_id}",
- body=maybe_transform(body, app_delete_params.AppDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -693,7 +686,6 @@ async def delete(
app_id: str,
*,
zone: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -723,7 +715,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `app_id` but received {app_id!r}")
return await self._delete(
f"/zones/{zone}/spectrum/apps/{app_id}",
- body=await async_maybe_transform(body, app_delete_params.AppDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/ssl/certificate_packs/certificate_packs.py b/src/cloudflare/resources/ssl/certificate_packs/certificate_packs.py
index 895db8720e1..c9a737527e9 100644
--- a/src/cloudflare/resources/ssl/certificate_packs/certificate_packs.py
+++ b/src/cloudflare/resources/ssl/certificate_packs/certificate_packs.py
@@ -37,7 +37,7 @@
async_to_streamed_response_wrapper,
)
from ...._wrappers import ResultWrapper
-from ....types.ssl import certificate_pack_edit_params, certificate_pack_list_params, certificate_pack_delete_params
+from ....types.ssl import certificate_pack_edit_params, certificate_pack_list_params
from ....pagination import SyncSinglePage, AsyncSinglePage
from ...._base_client import (
AsyncPaginator,
@@ -115,7 +115,6 @@ def delete(
certificate_pack_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -147,7 +146,6 @@ def delete(
)
return self._delete(
f"/zones/{zone_id}/ssl/certificate_packs/{certificate_pack_id}",
- body=maybe_transform(body, certificate_pack_delete_params.CertificatePackDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -326,7 +324,6 @@ async def delete(
certificate_pack_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -358,7 +355,6 @@ async def delete(
)
return await self._delete(
f"/zones/{zone_id}/ssl/certificate_packs/{certificate_pack_id}",
- body=await async_maybe_transform(body, certificate_pack_delete_params.CertificatePackDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/stream/captions/language/language.py b/src/cloudflare/resources/stream/captions/language/language.py
index 67482e4a9a7..34ca70cdff5 100644
--- a/src/cloudflare/resources/stream/captions/language/language.py
+++ b/src/cloudflare/resources/stream/captions/language/language.py
@@ -32,7 +32,7 @@
make_request_options,
)
from .....types.stream.caption import Caption
-from .....types.stream.captions import language_delete_params, language_update_params
+from .....types.stream.captions import language_update_params
from .....types.stream.captions.language_delete_response import LanguageDeleteResponse
__all__ = ["LanguageResource", "AsyncLanguageResource"]
@@ -111,7 +111,6 @@ def delete(
*,
account_id: str,
identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -145,7 +144,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `language` but received {language!r}")
return self._delete(
f"/accounts/{account_id}/stream/{identifier}/captions/{language}",
- body=maybe_transform(body, language_delete_params.LanguageDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -279,7 +277,6 @@ async def delete(
*,
account_id: str,
identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -313,7 +310,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `language` but received {language!r}")
return await self._delete(
f"/accounts/{account_id}/stream/{identifier}/captions/{language}",
- body=await async_maybe_transform(body, language_delete_params.LanguageDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/stream/keys.py b/src/cloudflare/resources/stream/keys.py
index 979b687da15..dee3531fb43 100644
--- a/src/cloudflare/resources/stream/keys.py
+++ b/src/cloudflare/resources/stream/keys.py
@@ -23,7 +23,7 @@
from ..._base_client import (
make_request_options,
)
-from ...types.stream import key_create_params, key_delete_params
+from ...types.stream import key_create_params
from ...types.stream.keys import Keys
from ...types.stream.key_get_response import KeyGetResponse
from ...types.stream.key_delete_response import KeyDeleteResponse
@@ -89,7 +89,6 @@ def delete(
identifier: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -121,7 +120,6 @@ def delete(
Optional[KeyDeleteResponse],
self._delete(
f"/accounts/{account_id}/stream/keys/{identifier}",
- body=maybe_transform(body, key_delete_params.KeyDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -233,7 +231,6 @@ async def delete(
identifier: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -265,7 +262,6 @@ async def delete(
Optional[KeyDeleteResponse],
await self._delete(
f"/accounts/{account_id}/stream/keys/{identifier}",
- body=await async_maybe_transform(body, key_delete_params.KeyDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/stream/live_inputs/live_inputs.py b/src/cloudflare/resources/stream/live_inputs/live_inputs.py
index 23522cf5456..442706aab62 100644
--- a/src/cloudflare/resources/stream/live_inputs/live_inputs.py
+++ b/src/cloudflare/resources/stream/live_inputs/live_inputs.py
@@ -31,12 +31,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.stream import (
- live_input_list_params,
- live_input_create_params,
- live_input_delete_params,
- live_input_update_params,
-)
+from ....types.stream import live_input_list_params, live_input_create_params, live_input_update_params
from ....types.stream.live_input import LiveInput
from ....types.stream.live_input_list_response import LiveInputListResponse
@@ -249,7 +244,6 @@ def delete(
live_input_identifier: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -283,7 +277,6 @@ def delete(
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
return self._delete(
f"/accounts/{account_id}/stream/live_inputs/{live_input_identifier}",
- body=maybe_transform(body, live_input_delete_params.LiveInputDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
@@ -545,7 +538,6 @@ async def delete(
live_input_identifier: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -579,7 +571,6 @@ async def delete(
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
return await self._delete(
f"/accounts/{account_id}/stream/live_inputs/{live_input_identifier}",
- body=await async_maybe_transform(body, live_input_delete_params.LiveInputDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
diff --git a/src/cloudflare/resources/stream/live_inputs/outputs.py b/src/cloudflare/resources/stream/live_inputs/outputs.py
index f786543bccc..af1464d04a7 100644
--- a/src/cloudflare/resources/stream/live_inputs/outputs.py
+++ b/src/cloudflare/resources/stream/live_inputs/outputs.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.stream.live_inputs import output_create_params, output_delete_params, output_update_params
+from ....types.stream.live_inputs import output_create_params, output_update_params
from ....types.stream.live_inputs.output import Output
__all__ = ["OutputsResource", "AsyncOutputsResource"]
@@ -217,7 +217,6 @@ def delete(
*,
account_id: str,
live_input_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -254,7 +253,6 @@ def delete(
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
return self._delete(
f"/accounts/{account_id}/stream/live_inputs/{live_input_identifier}/outputs/{output_identifier}",
- body=maybe_transform(body, output_delete_params.OutputDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
@@ -448,7 +446,6 @@ async def delete(
*,
account_id: str,
live_input_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -485,7 +482,6 @@ async def delete(
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
return await self._delete(
f"/accounts/{account_id}/stream/live_inputs/{live_input_identifier}/outputs/{output_identifier}",
- body=await async_maybe_transform(body, output_delete_params.OutputDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
diff --git a/src/cloudflare/resources/stream/stream.py b/src/cloudflare/resources/stream/stream.py
index 8504084ea70..4a66a234404 100644
--- a/src/cloudflare/resources/stream/stream.py
+++ b/src/cloudflare/resources/stream/stream.py
@@ -131,7 +131,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.stream import stream_list_params, stream_create_params, stream_delete_params
+from ...types.stream import stream_list_params, stream_create_params
from .captions.captions import CaptionsResource, AsyncCaptionsResource
from ...types.stream.video import Video
from .live_inputs.live_inputs import LiveInputsResource, AsyncLiveInputsResource
@@ -328,7 +328,6 @@ def delete(
identifier: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -359,7 +358,6 @@ def delete(
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
return self._delete(
f"/accounts/{account_id}/stream/{identifier}",
- body=maybe_transform(body, stream_delete_params.StreamDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
@@ -600,7 +598,6 @@ async def delete(
identifier: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -631,7 +628,6 @@ async def delete(
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
return await self._delete(
f"/accounts/{account_id}/stream/{identifier}",
- body=await async_maybe_transform(body, stream_delete_params.StreamDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
diff --git a/src/cloudflare/resources/stream/watermarks.py b/src/cloudflare/resources/stream/watermarks.py
index 7eae7369bd7..bb80780d25d 100644
--- a/src/cloudflare/resources/stream/watermarks.py
+++ b/src/cloudflare/resources/stream/watermarks.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.stream import watermark_create_params, watermark_delete_params
+from ...types.stream import watermark_create_params
from ...types.stream.watermark import Watermark
from ...types.stream.watermark_delete_response import WatermarkDeleteResponse
@@ -160,7 +160,6 @@ def delete(
identifier: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -192,7 +191,6 @@ def delete(
Optional[WatermarkDeleteResponse],
self._delete(
f"/accounts/{account_id}/stream/watermarks/{identifier}",
- body=maybe_transform(body, watermark_delete_params.WatermarkDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -379,7 +377,6 @@ async def delete(
identifier: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -411,7 +408,6 @@ async def delete(
Optional[WatermarkDeleteResponse],
await self._delete(
f"/accounts/{account_id}/stream/watermarks/{identifier}",
- body=await async_maybe_transform(body, watermark_delete_params.WatermarkDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/stream/webhooks.py b/src/cloudflare/resources/stream/webhooks.py
index 421ef3e1355..2f3879b43c1 100644
--- a/src/cloudflare/resources/stream/webhooks.py
+++ b/src/cloudflare/resources/stream/webhooks.py
@@ -23,7 +23,7 @@
from ..._base_client import (
make_request_options,
)
-from ...types.stream import webhook_delete_params, webhook_update_params
+from ...types.stream import webhook_update_params
from ...types.stream.webhook_get_response import WebhookGetResponse
from ...types.stream.webhook_delete_response import WebhookDeleteResponse
from ...types.stream.webhook_update_response import WebhookUpdateResponse
@@ -92,7 +92,6 @@ def delete(
self,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -120,7 +119,6 @@ def delete(
Optional[WebhookDeleteResponse],
self._delete(
f"/accounts/{account_id}/stream/webhook",
- body=maybe_transform(body, webhook_delete_params.WebhookDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -242,7 +240,6 @@ async def delete(
self,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -270,7 +267,6 @@ async def delete(
Optional[WebhookDeleteResponse],
await self._delete(
f"/accounts/{account_id}/stream/webhook",
- body=await async_maybe_transform(body, webhook_delete_params.WebhookDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/subscriptions.py b/src/cloudflare/resources/subscriptions.py
index 2d4496f23f8..2d30e1af043 100644
--- a/src/cloudflare/resources/subscriptions.py
+++ b/src/cloudflare/resources/subscriptions.py
@@ -26,7 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ..types.subscriptions import subscription_create_params, subscription_delete_params, subscription_update_params
+from ..types.subscriptions import subscription_create_params, subscription_update_params
from ..types.user.subscription import Subscription
from ..types.user.rate_plan_param import RatePlanParam
from ..types.user.subscription_zone_param import SubscriptionZoneParam
@@ -230,7 +230,6 @@ def delete(
subscription_identifier: str,
*,
account_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -262,7 +261,6 @@ def delete(
)
return self._delete(
f"/accounts/{account_identifier}/subscriptions/{subscription_identifier}",
- body=maybe_transform(body, subscription_delete_params.SubscriptionDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -509,7 +507,6 @@ async def delete(
subscription_identifier: str,
*,
account_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -541,7 +538,6 @@ async def delete(
)
return await self._delete(
f"/accounts/{account_identifier}/subscriptions/{subscription_identifier}",
- body=await async_maybe_transform(body, subscription_delete_params.SubscriptionDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/user/organizations.py b/src/cloudflare/resources/user/organizations.py
index cf0010f5fd1..daf90da2aed 100644
--- a/src/cloudflare/resources/user/organizations.py
+++ b/src/cloudflare/resources/user/organizations.py
@@ -8,10 +8,7 @@
import httpx
from ..._types import NOT_GIVEN, Body, Query, Headers, NotGiven
-from ..._utils import (
- maybe_transform,
- async_maybe_transform,
-)
+from ..._utils import maybe_transform
from ..._compat import cached_property
from ..._resource import SyncAPIResource, AsyncAPIResource
from ..._response import (
@@ -22,7 +19,7 @@
)
from ..._wrappers import ResultWrapper
from ...pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
-from ...types.user import organization_list_params, organization_delete_params
+from ...types.user import organization_list_params
from ..._base_client import (
AsyncPaginator,
make_request_options,
@@ -114,7 +111,6 @@ def delete(
self,
organization_id: str,
*,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -140,7 +136,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `organization_id` but received {organization_id!r}")
return self._delete(
f"/user/organizations/{organization_id}",
- body=maybe_transform(body, organization_delete_params.OrganizationDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
@@ -272,7 +267,6 @@ async def delete(
self,
organization_id: str,
*,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -298,7 +292,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `organization_id` but received {organization_id!r}")
return await self._delete(
f"/user/organizations/{organization_id}",
- body=await async_maybe_transform(body, organization_delete_params.OrganizationDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
diff --git a/src/cloudflare/resources/user/subscriptions.py b/src/cloudflare/resources/user/subscriptions.py
index f91857d27e1..9c2405a54ea 100644
--- a/src/cloudflare/resources/user/subscriptions.py
+++ b/src/cloudflare/resources/user/subscriptions.py
@@ -21,11 +21,7 @@
async_to_streamed_response_wrapper,
)
from ..._wrappers import ResultWrapper
-from ...types.user import (
- subscription_edit_params,
- subscription_delete_params,
- subscription_update_params,
-)
+from ...types.user import subscription_edit_params, subscription_update_params
from ..._base_client import (
make_request_options,
)
@@ -120,7 +116,6 @@ def delete(
self,
identifier: str,
*,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -146,7 +141,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return self._delete(
f"/user/subscriptions/{identifier}",
- body=maybe_transform(body, subscription_delete_params.SubscriptionDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
@@ -324,7 +318,6 @@ async def delete(
self,
identifier: str,
*,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -350,7 +343,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return await self._delete(
f"/user/subscriptions/{identifier}",
- body=await async_maybe_transform(body, subscription_delete_params.SubscriptionDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
diff --git a/src/cloudflare/resources/user/tokens/tokens.py b/src/cloudflare/resources/user/tokens/tokens.py
index 4903b12823e..5a71d4cfdb1 100644
--- a/src/cloudflare/resources/user/tokens/tokens.py
+++ b/src/cloudflare/resources/user/tokens/tokens.py
@@ -31,7 +31,7 @@
)
from ...._wrappers import ResultWrapper
from ....pagination import SyncV4PagePaginationArray, AsyncV4PagePaginationArray
-from ....types.user import token_list_params, token_create_params, token_delete_params, token_update_params
+from ....types.user import token_list_params, token_create_params, token_update_params
from ...._base_client import (
AsyncPaginator,
make_request_options,
@@ -252,7 +252,6 @@ def delete(
self,
token_id: object,
*,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -274,7 +273,6 @@ def delete(
"""
return self._delete(
f"/user/tokens/{token_id}",
- body=maybe_transform(body, token_delete_params.TokenDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -547,7 +545,6 @@ async def delete(
self,
token_id: object,
*,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -569,7 +566,6 @@ async def delete(
"""
return await self._delete(
f"/user/tokens/{token_id}",
- body=await async_maybe_transform(body, token_delete_params.TokenDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/waiting_rooms/events/events.py b/src/cloudflare/resources/waiting_rooms/events/events.py
index 62dc803843d..2c4a3998a86 100644
--- a/src/cloudflare/resources/waiting_rooms/events/events.py
+++ b/src/cloudflare/resources/waiting_rooms/events/events.py
@@ -33,13 +33,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.waiting_rooms import (
- event_edit_params,
- event_list_params,
- event_create_params,
- event_delete_params,
- event_update_params,
-)
+from ....types.waiting_rooms import event_edit_params, event_list_params, event_create_params, event_update_params
from ....types.waiting_rooms.event import Event
from ....types.waiting_rooms.event_delete_response import EventDeleteResponse
@@ -365,7 +359,6 @@ def delete(
*,
zone_id: str,
waiting_room_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -395,7 +388,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `event_id` but received {event_id!r}")
return self._delete(
f"/zones/{zone_id}/waiting_rooms/{waiting_room_id}/events/{event_id}",
- body=maybe_transform(body, event_delete_params.EventDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -892,7 +884,6 @@ async def delete(
*,
zone_id: str,
waiting_room_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -922,7 +913,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `event_id` but received {event_id!r}")
return await self._delete(
f"/zones/{zone_id}/waiting_rooms/{waiting_room_id}/events/{event_id}",
- body=await async_maybe_transform(body, event_delete_params.EventDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/waiting_rooms/rules.py b/src/cloudflare/resources/waiting_rooms/rules.py
index 61f18ee6d83..ca249b40fc6 100644
--- a/src/cloudflare/resources/waiting_rooms/rules.py
+++ b/src/cloudflare/resources/waiting_rooms/rules.py
@@ -26,7 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.waiting_rooms import rule_edit_params, rule_create_params, rule_delete_params, rule_update_params
+from ...types.waiting_rooms import rule_edit_params, rule_create_params, rule_update_params
from ...types.waiting_rooms.waiting_room_rule import WaitingRoomRule
from ...types.waiting_rooms.rule_edit_response import RuleEditResponse
from ...types.waiting_rooms.rule_create_response import RuleCreateResponse
@@ -201,7 +201,6 @@ def delete(
*,
zone_id: str,
waiting_room_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -233,7 +232,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `rule_id` but received {rule_id!r}")
return self._delete(
f"/zones/{zone_id}/waiting_rooms/{waiting_room_id}/rules/{rule_id}",
- body=maybe_transform(body, rule_delete_params.RuleDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -482,7 +480,6 @@ async def delete(
*,
zone_id: str,
waiting_room_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -514,7 +511,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `rule_id` but received {rule_id!r}")
return await self._delete(
f"/zones/{zone_id}/waiting_rooms/{waiting_room_id}/rules/{rule_id}",
- body=await async_maybe_transform(body, rule_delete_params.RuleDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/waiting_rooms/waiting_rooms.py b/src/cloudflare/resources/waiting_rooms/waiting_rooms.py
index e89685b2d40..70d9b6d225d 100644
--- a/src/cloudflare/resources/waiting_rooms/waiting_rooms.py
+++ b/src/cloudflare/resources/waiting_rooms/waiting_rooms.py
@@ -71,7 +71,6 @@
waiting_room_edit_params,
waiting_room_list_params,
waiting_room_create_params,
- waiting_room_delete_params,
waiting_room_update_params,
)
from ...types.waiting_rooms.waiting_room import WaitingRoom
@@ -881,7 +880,6 @@ def delete(
waiting_room_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -909,7 +907,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `waiting_room_id` but received {waiting_room_id!r}")
return self._delete(
f"/zones/{zone_id}/waiting_rooms/{waiting_room_id}",
- body=maybe_transform(body, waiting_room_delete_params.WaitingRoomDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -2120,7 +2117,6 @@ async def delete(
waiting_room_id: str,
*,
zone_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -2148,7 +2144,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `waiting_room_id` but received {waiting_room_id!r}")
return await self._delete(
f"/zones/{zone_id}/waiting_rooms/{waiting_room_id}",
- body=await async_maybe_transform(body, waiting_room_delete_params.WaitingRoomDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/warp_connector.py b/src/cloudflare/resources/warp_connector.py
index 72aa5b4b7e4..e614da171ef 100644
--- a/src/cloudflare/resources/warp_connector.py
+++ b/src/cloudflare/resources/warp_connector.py
@@ -26,12 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ..types.warp_connector import (
- warp_connector_edit_params,
- warp_connector_list_params,
- warp_connector_create_params,
- warp_connector_delete_params,
-)
+from ..types.warp_connector import warp_connector_edit_params, warp_connector_list_params, warp_connector_create_params
from ..types.warp_connector.warp_connector_get_response import WARPConnectorGetResponse
from ..types.warp_connector.warp_connector_edit_response import WARPConnectorEditResponse
from ..types.warp_connector.warp_connector_list_response import WARPConnectorListResponse
@@ -184,7 +179,6 @@ def delete(
tunnel_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -216,7 +210,6 @@ def delete(
WARPConnectorDeleteResponse,
self._delete(
f"/accounts/{account_id}/warp_connector/{tunnel_id}",
- body=maybe_transform(body, warp_connector_delete_params.WARPConnectorDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -537,7 +530,6 @@ async def delete(
tunnel_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -569,7 +561,6 @@ async def delete(
WARPConnectorDeleteResponse,
await self._delete(
f"/accounts/{account_id}/warp_connector/{tunnel_id}",
- body=await async_maybe_transform(body, warp_connector_delete_params.WARPConnectorDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/web3/hostnames/hostnames.py b/src/cloudflare/resources/web3/hostnames/hostnames.py
index f4dd3aa6e91..9bf5ac86e9a 100644
--- a/src/cloudflare/resources/web3/hostnames/hostnames.py
+++ b/src/cloudflare/resources/web3/hostnames/hostnames.py
@@ -22,7 +22,7 @@
)
from ...._wrappers import ResultWrapper
from ....pagination import SyncSinglePage, AsyncSinglePage
-from ....types.web3 import hostname_edit_params, hostname_create_params, hostname_delete_params
+from ....types.web3 import hostname_edit_params, hostname_create_params
from ...._base_client import (
AsyncPaginator,
make_request_options,
@@ -152,7 +152,6 @@ def delete(
identifier: str,
*,
zone_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -182,7 +181,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return self._delete(
f"/zones/{zone_identifier}/web3/hostnames/{identifier}",
- body=maybe_transform(body, hostname_delete_params.HostnameDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -405,7 +403,6 @@ async def delete(
identifier: str,
*,
zone_identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -435,7 +432,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `identifier` but received {identifier!r}")
return await self._delete(
f"/zones/{zone_identifier}/web3/hostnames/{identifier}",
- body=await async_maybe_transform(body, hostname_delete_params.HostnameDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/web3/hostnames/ipfs_universal_paths/content_lists/entries.py b/src/cloudflare/resources/web3/hostnames/ipfs_universal_paths/content_lists/entries.py
index 7bb201431cd..4170fac51c8 100644
--- a/src/cloudflare/resources/web3/hostnames/ipfs_universal_paths/content_lists/entries.py
+++ b/src/cloudflare/resources/web3/hostnames/ipfs_universal_paths/content_lists/entries.py
@@ -24,11 +24,7 @@
from ......_base_client import (
make_request_options,
)
-from ......types.web3.hostnames.ipfs_universal_paths.content_lists import (
- entry_create_params,
- entry_delete_params,
- entry_update_params,
-)
+from ......types.web3.hostnames.ipfs_universal_paths.content_lists import entry_create_params, entry_update_params
from ......types.web3.hostnames.ipfs_universal_paths.content_lists.entry_get_response import EntryGetResponse
from ......types.web3.hostnames.ipfs_universal_paths.content_lists.entry_list_response import EntryListResponse
from ......types.web3.hostnames.ipfs_universal_paths.content_lists.entry_create_response import EntryCreateResponse
@@ -226,7 +222,6 @@ def delete(
*,
zone_identifier: str,
identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -262,7 +257,6 @@ def delete(
)
return self._delete(
f"/zones/{zone_identifier}/web3/hostnames/{identifier}/ipfs_universal_path/content_list/entries/{content_list_entry_identifier}",
- body=maybe_transform(body, entry_delete_params.EntryDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -513,7 +507,6 @@ async def delete(
*,
zone_identifier: str,
identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -549,7 +542,6 @@ async def delete(
)
return await self._delete(
f"/zones/{zone_identifier}/web3/hostnames/{identifier}/ipfs_universal_path/content_list/entries/{content_list_entry_identifier}",
- body=await async_maybe_transform(body, entry_delete_params.EntryDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/workers/domains.py b/src/cloudflare/resources/workers/domains.py
index bcf3872c03a..1ef08b0f762 100644
--- a/src/cloudflare/resources/workers/domains.py
+++ b/src/cloudflare/resources/workers/domains.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ...types.workers import domain_list_params, domain_delete_params, domain_update_params
+from ...types.workers import domain_list_params, domain_update_params
from ...types.workers.domain import Domain
__all__ = ["DomainsResource", "AsyncDomainsResource"]
@@ -165,7 +165,6 @@ def delete(
domain_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -194,7 +193,6 @@ def delete(
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
return self._delete(
f"/accounts/{account_id}/workers/domains/{domain_id}",
- body=maybe_transform(body, domain_delete_params.DomainDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
@@ -378,7 +376,6 @@ async def delete(
domain_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -407,7 +404,6 @@ async def delete(
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
return await self._delete(
f"/accounts/{account_id}/workers/domains/{domain_id}",
- body=await async_maybe_transform(body, domain_delete_params.DomainDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
diff --git a/src/cloudflare/resources/workers/scripts/scripts.py b/src/cloudflare/resources/workers/scripts/scripts.py
index 437479de3a1..2ae2c62f3a7 100644
--- a/src/cloudflare/resources/workers/scripts/scripts.py
+++ b/src/cloudflare/resources/workers/scripts/scripts.py
@@ -290,7 +290,6 @@ def delete(
script_name: str,
*,
account_id: str,
- body: object,
force: bool | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -327,7 +326,6 @@ def delete(
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
return self._delete(
f"/accounts/{account_id}/workers/scripts/{script_name}",
- body=maybe_transform(body, script_delete_params.ScriptDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -586,7 +584,6 @@ async def delete(
script_name: str,
*,
account_id: str,
- body: object,
force: bool | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -623,7 +620,6 @@ async def delete(
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
return await self._delete(
f"/accounts/{account_id}/workers/scripts/{script_name}",
- body=await async_maybe_transform(body, script_delete_params.ScriptDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/workers/scripts/tail.py b/src/cloudflare/resources/workers/scripts/tail.py
index c0185a5b22b..b5f293be35c 100644
--- a/src/cloudflare/resources/workers/scripts/tail.py
+++ b/src/cloudflare/resources/workers/scripts/tail.py
@@ -23,7 +23,7 @@
from ...._base_client import (
make_request_options,
)
-from ....types.workers.scripts import tail_create_params, tail_delete_params
+from ....types.workers.scripts import tail_create_params
from ....types.workers.scripts.tail_get_response import TailGetResponse
from ....types.workers.scripts.tail_create_response import TailCreateResponse
from ....types.workers.scripts.tail_delete_response import TailDeleteResponse
@@ -92,7 +92,6 @@ def delete(
*,
account_id: str,
script_name: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -126,7 +125,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return self._delete(
f"/accounts/{account_id}/workers/scripts/{script_name}/tails/{id}",
- body=maybe_transform(body, tail_delete_params.TailDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
@@ -239,7 +237,6 @@ async def delete(
*,
account_id: str,
script_name: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -273,7 +270,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `id` but received {id!r}")
return await self._delete(
f"/accounts/{account_id}/workers/scripts/{script_name}/tails/{id}",
- body=await async_maybe_transform(body, tail_delete_params.TailDeleteParams),
options=make_request_options(
extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
),
diff --git a/src/cloudflare/resources/workers_for_platforms/dispatch/namespaces/scripts/scripts.py b/src/cloudflare/resources/workers_for_platforms/dispatch/namespaces/scripts/scripts.py
index 2860f178ff6..eaaece76d7b 100644
--- a/src/cloudflare/resources/workers_for_platforms/dispatch/namespaces/scripts/scripts.py
+++ b/src/cloudflare/resources/workers_for_platforms/dispatch/namespaces/scripts/scripts.py
@@ -237,7 +237,6 @@ def delete(
*,
account_id: str,
dispatch_namespace: str,
- body: object,
force: bool | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -279,7 +278,6 @@ def delete(
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
return self._delete(
f"/accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}",
- body=maybe_transform(body, script_delete_params.ScriptDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -506,7 +504,6 @@ async def delete(
*,
account_id: str,
dispatch_namespace: str,
- body: object,
force: bool | NotGiven = NOT_GIVEN,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -548,7 +545,6 @@ async def delete(
extra_headers = {"Accept": "*/*", **(extra_headers or {})}
return await self._delete(
f"/accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}",
- body=await async_maybe_transform(body, script_delete_params.ScriptDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/zero_trust/access/bookmarks.py b/src/cloudflare/resources/zero_trust/access/bookmarks.py
index 51956d890fa..00f06515c4c 100644
--- a/src/cloudflare/resources/zero_trust/access/bookmarks.py
+++ b/src/cloudflare/resources/zero_trust/access/bookmarks.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.zero_trust.access import bookmark_create_params, bookmark_delete_params, bookmark_update_params
+from ....types.zero_trust.access import bookmark_create_params, bookmark_update_params
from ....types.zero_trust.access.bookmark import Bookmark
from ....types.zero_trust.access.bookmark_delete_response import BookmarkDeleteResponse
@@ -168,7 +168,6 @@ def delete(
uuid: str,
*,
identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -196,7 +195,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `uuid` but received {uuid!r}")
return self._delete(
f"/accounts/{identifier}/access/bookmarks/{uuid}",
- body=maybe_transform(body, bookmark_delete_params.BookmarkDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -386,7 +384,6 @@ async def delete(
uuid: str,
*,
identifier: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -414,7 +411,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `uuid` but received {uuid!r}")
return await self._delete(
f"/accounts/{identifier}/access/bookmarks/{uuid}",
- body=await async_maybe_transform(body, bookmark_delete_params.BookmarkDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/zero_trust/devices/networks.py b/src/cloudflare/resources/zero_trust/devices/networks.py
index 645114237fe..32906413a72 100644
--- a/src/cloudflare/resources/zero_trust/devices/networks.py
+++ b/src/cloudflare/resources/zero_trust/devices/networks.py
@@ -26,7 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.zero_trust.devices import network_create_params, network_delete_params, network_update_params
+from ....types.zero_trust.devices import network_create_params, network_update_params
from ....types.zero_trust.devices.device_network import DeviceNetwork
from ....types.zero_trust.devices.network_delete_response import NetworkDeleteResponse
@@ -196,7 +196,6 @@ def delete(
network_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -225,7 +224,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `network_id` but received {network_id!r}")
return self._delete(
f"/accounts/{account_id}/devices/networks/{network_id}",
- body=maybe_transform(body, network_delete_params.NetworkDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -442,7 +440,6 @@ async def delete(
network_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -471,7 +468,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `network_id` but received {network_id!r}")
return await self._delete(
f"/accounts/{account_id}/devices/networks/{network_id}",
- body=await async_maybe_transform(body, network_delete_params.NetworkDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/zero_trust/devices/policies/policies.py b/src/cloudflare/resources/zero_trust/devices/policies/policies.py
index 57b8423f9f1..93b09dbd3c1 100644
--- a/src/cloudflare/resources/zero_trust/devices/policies/policies.py
+++ b/src/cloudflare/resources/zero_trust/devices/policies/policies.py
@@ -57,7 +57,7 @@
FallbackDomainsResourceWithStreamingResponse,
AsyncFallbackDomainsResourceWithStreamingResponse,
)
-from .....types.zero_trust.devices import policy_edit_params, policy_create_params, policy_delete_params
+from .....types.zero_trust.devices import policy_edit_params, policy_create_params
from .....types.zero_trust.devices.settings_policy import SettingsPolicy
from .....types.zero_trust.devices.policy_delete_response import PolicyDeleteResponse
@@ -245,7 +245,6 @@ def delete(
policy_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -274,7 +273,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `policy_id` but received {policy_id!r}")
return self._delete(
f"/accounts/{account_id}/devices/policy/{policy_id}",
- body=maybe_transform(body, policy_delete_params.PolicyDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -618,7 +616,6 @@ async def delete(
policy_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -647,7 +644,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `policy_id` but received {policy_id!r}")
return await self._delete(
f"/accounts/{account_id}/devices/policy/{policy_id}",
- body=await async_maybe_transform(body, policy_delete_params.PolicyDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/zero_trust/devices/posture/integrations.py b/src/cloudflare/resources/zero_trust/devices/posture/integrations.py
index 160d7a87247..c8570f2c642 100644
--- a/src/cloudflare/resources/zero_trust/devices/posture/integrations.py
+++ b/src/cloudflare/resources/zero_trust/devices/posture/integrations.py
@@ -26,11 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from .....types.zero_trust.devices.posture import (
- integration_edit_params,
- integration_create_params,
- integration_delete_params,
-)
+from .....types.zero_trust.devices.posture import integration_edit_params, integration_create_params
from .....types.zero_trust.devices.posture.integration import Integration
from .....types.zero_trust.devices.posture.integration_delete_response import IntegrationDeleteResponse
@@ -144,7 +140,6 @@ def delete(
integration_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -174,7 +169,6 @@ def delete(
IntegrationDeleteResponse,
self._delete(
f"/accounts/{account_id}/devices/posture/integration/{integration_id}",
- body=maybe_transform(body, integration_delete_params.IntegrationDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -403,7 +397,6 @@ async def delete(
integration_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -433,7 +426,6 @@ async def delete(
IntegrationDeleteResponse,
await self._delete(
f"/accounts/{account_id}/devices/posture/integration/{integration_id}",
- body=await async_maybe_transform(body, integration_delete_params.IntegrationDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/zero_trust/devices/posture/posture.py b/src/cloudflare/resources/zero_trust/devices/posture/posture.py
index fedb1495ce2..528888f1557 100644
--- a/src/cloudflare/resources/zero_trust/devices/posture/posture.py
+++ b/src/cloudflare/resources/zero_trust/devices/posture/posture.py
@@ -34,11 +34,7 @@
AsyncPaginator,
make_request_options,
)
-from .....types.zero_trust.devices import (
- posture_create_params,
- posture_delete_params,
- posture_update_params,
-)
+from .....types.zero_trust.devices import posture_create_params, posture_update_params
from .....types.zero_trust.devices.device_input_param import DeviceInputParam
from .....types.zero_trust.devices.device_match_param import DeviceMatchParam
from .....types.zero_trust.devices.device_posture_rule import DevicePostureRule
@@ -288,7 +284,6 @@ def delete(
rule_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -316,7 +311,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `rule_id` but received {rule_id!r}")
return self._delete(
f"/accounts/{account_id}/devices/posture/{rule_id}",
- body=maybe_transform(body, posture_delete_params.PostureDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -611,7 +605,6 @@ async def delete(
rule_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -639,7 +632,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `rule_id` but received {rule_id!r}")
return await self._delete(
f"/accounts/{account_id}/devices/posture/{rule_id}",
- body=await async_maybe_transform(body, posture_delete_params.PostureDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/zero_trust/dlp/profiles/custom.py b/src/cloudflare/resources/zero_trust/dlp/profiles/custom.py
index a9265d0ffc6..7e19dd0cb92 100644
--- a/src/cloudflare/resources/zero_trust/dlp/profiles/custom.py
+++ b/src/cloudflare/resources/zero_trust/dlp/profiles/custom.py
@@ -23,7 +23,7 @@
from ....._base_client import (
make_request_options,
)
-from .....types.zero_trust.dlp.profiles import custom_create_params, custom_delete_params, custom_update_params
+from .....types.zero_trust.dlp.profiles import custom_create_params, custom_update_params
from .....types.zero_trust.dlp.context_awareness_param import ContextAwarenessParam
from .....types.zero_trust.dlp.profiles.custom_profile import CustomProfile
from .....types.zero_trust.dlp.profiles.custom_create_response import CustomCreateResponse
@@ -164,7 +164,6 @@ def delete(
profile_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -196,7 +195,6 @@ def delete(
CustomDeleteResponse,
self._delete(
f"/accounts/{account_id}/dlp/profiles/custom/{profile_id}",
- body=maybe_transform(body, custom_delete_params.CustomDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -387,7 +385,6 @@ async def delete(
profile_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -419,7 +416,6 @@ async def delete(
CustomDeleteResponse,
await self._delete(
f"/accounts/{account_id}/dlp/profiles/custom/{profile_id}",
- body=await async_maybe_transform(body, custom_delete_params.CustomDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/zero_trust/gateway/lists/lists.py b/src/cloudflare/resources/zero_trust/gateway/lists/lists.py
index f63c0fac6a4..0810dafa367 100644
--- a/src/cloudflare/resources/zero_trust/gateway/lists/lists.py
+++ b/src/cloudflare/resources/zero_trust/gateway/lists/lists.py
@@ -34,7 +34,7 @@
AsyncPaginator,
make_request_options,
)
-from .....types.zero_trust.gateway import list_edit_params, list_create_params, list_delete_params, list_update_params
+from .....types.zero_trust.gateway import list_edit_params, list_create_params, list_update_params
from .....types.zero_trust.gateway.gateway_list import GatewayList
from .....types.zero_trust.gateway.gateway_item_param import GatewayItemParam
from .....types.zero_trust.gateway.list_create_response import ListCreateResponse
@@ -208,7 +208,6 @@ def delete(
list_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -238,7 +237,6 @@ def delete(
Optional[ListDeleteResponse],
self._delete(
f"/accounts/{account_id}/gateway/lists/{list_id}",
- body=maybe_transform(body, list_delete_params.ListDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -515,7 +513,6 @@ async def delete(
list_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -545,7 +542,6 @@ async def delete(
Optional[ListDeleteResponse],
await self._delete(
f"/accounts/{account_id}/gateway/lists/{list_id}",
- body=await async_maybe_transform(body, list_delete_params.ListDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/zero_trust/gateway/locations.py b/src/cloudflare/resources/zero_trust/gateway/locations.py
index 8c374c6ad27..e77cf3be32d 100644
--- a/src/cloudflare/resources/zero_trust/gateway/locations.py
+++ b/src/cloudflare/resources/zero_trust/gateway/locations.py
@@ -25,7 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.zero_trust.gateway import location_create_params, location_delete_params, location_update_params
+from ....types.zero_trust.gateway import location_create_params, location_update_params
from ....types.zero_trust.gateway.location import Location
from ....types.zero_trust.gateway.location_network_param import LocationNetworkParam
from ....types.zero_trust.gateway.location_delete_response import LocationDeleteResponse
@@ -200,7 +200,6 @@ def delete(
location_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -228,7 +227,6 @@ def delete(
Optional[LocationDeleteResponse],
self._delete(
f"/accounts/{account_id}/gateway/locations/{location_id}",
- body=maybe_transform(body, location_delete_params.LocationDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -450,7 +448,6 @@ async def delete(
location_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -478,7 +475,6 @@ async def delete(
Optional[LocationDeleteResponse],
await self._delete(
f"/accounts/{account_id}/gateway/locations/{location_id}",
- body=await async_maybe_transform(body, location_delete_params.LocationDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/zero_trust/gateway/proxy_endpoints.py b/src/cloudflare/resources/zero_trust/gateway/proxy_endpoints.py
index 1c0da998f19..c1b0d3b653f 100644
--- a/src/cloudflare/resources/zero_trust/gateway/proxy_endpoints.py
+++ b/src/cloudflare/resources/zero_trust/gateway/proxy_endpoints.py
@@ -25,11 +25,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.zero_trust.gateway import (
- proxy_endpoint_edit_params,
- proxy_endpoint_create_params,
- proxy_endpoint_delete_params,
-)
+from ....types.zero_trust.gateway import proxy_endpoint_edit_params, proxy_endpoint_create_params
from ....types.zero_trust.gateway.gateway_ips import GatewayIPs
from ....types.zero_trust.gateway.proxy_endpoint import ProxyEndpoint
from ....types.zero_trust.gateway.proxy_endpoint_delete_response import ProxyEndpointDeleteResponse
@@ -135,7 +131,6 @@ def delete(
proxy_endpoint_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -163,7 +158,6 @@ def delete(
Optional[ProxyEndpointDeleteResponse],
self._delete(
f"/accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}",
- body=maybe_transform(body, proxy_endpoint_delete_params.ProxyEndpointDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -369,7 +363,6 @@ async def delete(
proxy_endpoint_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -397,7 +390,6 @@ async def delete(
Optional[ProxyEndpointDeleteResponse],
await self._delete(
f"/accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}",
- body=await async_maybe_transform(body, proxy_endpoint_delete_params.ProxyEndpointDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/zero_trust/gateway/rules.py b/src/cloudflare/resources/zero_trust/gateway/rules.py
index d61fac4c73b..0346b993d38 100644
--- a/src/cloudflare/resources/zero_trust/gateway/rules.py
+++ b/src/cloudflare/resources/zero_trust/gateway/rules.py
@@ -26,11 +26,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.zero_trust.gateway import (
- rule_create_params,
- rule_delete_params,
- rule_update_params,
-)
+from ....types.zero_trust.gateway import rule_create_params, rule_update_params
from ....types.zero_trust.gateway.gateway_rule import GatewayRule
from ....types.zero_trust.gateway.gateway_filter import GatewayFilter
from ....types.zero_trust.gateway.schedule_param import ScheduleParam
@@ -307,7 +303,6 @@ def delete(
rule_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -337,7 +332,6 @@ def delete(
Optional[RuleDeleteResponse],
self._delete(
f"/accounts/{account_id}/gateway/rules/{rule_id}",
- body=maybe_transform(body, rule_delete_params.RuleDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -661,7 +655,6 @@ async def delete(
rule_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -691,7 +684,6 @@ async def delete(
Optional[RuleDeleteResponse],
await self._delete(
f"/accounts/{account_id}/gateway/rules/{rule_id}",
- body=await async_maybe_transform(body, rule_delete_params.RuleDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/zero_trust/networks/virtual_networks.py b/src/cloudflare/resources/zero_trust/networks/virtual_networks.py
index 8c7611adaee..78c9995d771 100644
--- a/src/cloudflare/resources/zero_trust/networks/virtual_networks.py
+++ b/src/cloudflare/resources/zero_trust/networks/virtual_networks.py
@@ -29,7 +29,6 @@
virtual_network_edit_params,
virtual_network_list_params,
virtual_network_create_params,
- virtual_network_delete_params,
)
from ....types.zero_trust.networks.virtual_network import VirtualNetwork
from ....types.zero_trust.networks.virtual_network_edit_response import VirtualNetworkEditResponse
@@ -176,7 +175,6 @@ def delete(
virtual_network_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -208,7 +206,6 @@ def delete(
VirtualNetworkDeleteResponse,
self._delete(
f"/accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}",
- body=maybe_transform(body, virtual_network_delete_params.VirtualNetworkDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -426,7 +423,6 @@ async def delete(
virtual_network_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -458,7 +454,6 @@ async def delete(
VirtualNetworkDeleteResponse,
await self._delete(
f"/accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}",
- body=await async_maybe_transform(body, virtual_network_delete_params.VirtualNetworkDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/zero_trust/tunnels/connections.py b/src/cloudflare/resources/zero_trust/tunnels/connections.py
index f0b505d8e83..2b1e4096eed 100644
--- a/src/cloudflare/resources/zero_trust/tunnels/connections.py
+++ b/src/cloudflare/resources/zero_trust/tunnels/connections.py
@@ -7,10 +7,6 @@
import httpx
from ...._types import NOT_GIVEN, Body, Query, Headers, NotGiven
-from ...._utils import (
- maybe_transform,
- async_maybe_transform,
-)
from ...._compat import cached_property
from ...._resource import SyncAPIResource, AsyncAPIResource
from ...._response import (
@@ -23,7 +19,6 @@
from ...._base_client import (
make_request_options,
)
-from ....types.zero_trust.tunnels import connection_delete_params
from ....types.zero_trust.tunnels.connection_get_response import ConnectionGetResponse
from ....types.zero_trust.tunnels.connection_delete_response import ConnectionDeleteResponse
@@ -44,7 +39,6 @@ def delete(
tunnel_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -78,7 +72,6 @@ def delete(
ConnectionDeleteResponse,
self._delete(
f"/accounts/{account_id}/tunnels/{tunnel_id}/connections",
- body=maybe_transform(body, connection_delete_params.ConnectionDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -151,7 +144,6 @@ async def delete(
tunnel_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -185,7 +177,6 @@ async def delete(
ConnectionDeleteResponse,
await self._delete(
f"/accounts/{account_id}/tunnels/{tunnel_id}/connections",
- body=await async_maybe_transform(body, connection_delete_params.ConnectionDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/resources/zero_trust/tunnels/tunnels.py b/src/cloudflare/resources/zero_trust/tunnels/tunnels.py
index 7513cd0df48..228c4044763 100644
--- a/src/cloudflare/resources/zero_trust/tunnels/tunnels.py
+++ b/src/cloudflare/resources/zero_trust/tunnels/tunnels.py
@@ -66,7 +66,7 @@
AsyncPaginator,
make_request_options,
)
-from ....types.zero_trust import tunnel_edit_params, tunnel_list_params, tunnel_create_params, tunnel_delete_params
+from ....types.zero_trust import tunnel_edit_params, tunnel_list_params, tunnel_create_params
from ....types.zero_trust.tunnel_get_response import TunnelGetResponse
from ....types.zero_trust.tunnel_edit_response import TunnelEditResponse
from ....types.zero_trust.tunnel_list_response import TunnelListResponse
@@ -245,7 +245,6 @@ def delete(
tunnel_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -275,7 +274,6 @@ def delete(
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return self._delete(
f"/accounts/{account_id}/tunnels/{tunnel_id}",
- body=maybe_transform(body, tunnel_delete_params.TunnelDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
@@ -563,7 +561,6 @@ async def delete(
tunnel_id: str,
*,
account_id: str,
- body: object,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
extra_headers: Headers | None = None,
@@ -593,7 +590,6 @@ async def delete(
raise ValueError(f"Expected a non-empty value for `tunnel_id` but received {tunnel_id!r}")
return await self._delete(
f"/accounts/{account_id}/tunnels/{tunnel_id}",
- body=await async_maybe_transform(body, tunnel_delete_params.TunnelDeleteParams),
options=make_request_options(
extra_headers=extra_headers,
extra_query=extra_query,
diff --git a/src/cloudflare/types/accounts/__init__.py b/src/cloudflare/types/accounts/__init__.py
index 4df03ede50b..8d3d15425ca 100644
--- a/src/cloudflare/types/accounts/__init__.py
+++ b/src/cloudflare/types/accounts/__init__.py
@@ -8,7 +8,6 @@
from .account_list_params import AccountListParams as AccountListParams
from .account_get_response import AccountGetResponse as AccountGetResponse
from .member_create_params import MemberCreateParams as MemberCreateParams
-from .member_delete_params import MemberDeleteParams as MemberDeleteParams
from .member_list_response import MemberListResponse as MemberListResponse
from .member_update_params import MemberUpdateParams as MemberUpdateParams
from .account_update_params import AccountUpdateParams as AccountUpdateParams
diff --git a/src/cloudflare/types/accounts/member_delete_params.py b/src/cloudflare/types/accounts/member_delete_params.py
deleted file mode 100644
index c71acd55512..00000000000
--- a/src/cloudflare/types/accounts/member_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["MemberDeleteParams"]
-
-
-class MemberDeleteParams(TypedDict, total=False):
- account_id: Required[object]
-
- body: Required[object]
diff --git a/src/cloudflare/types/addressing/__init__.py b/src/cloudflare/types/addressing/__init__.py
index 09699f91e4e..c1e1e146f4d 100644
--- a/src/cloudflare/types/addressing/__init__.py
+++ b/src/cloudflare/types/addressing/__init__.py
@@ -6,13 +6,11 @@
from .address_map import AddressMap as AddressMap
from .prefix_edit_params import PrefixEditParams as PrefixEditParams
from .prefix_create_params import PrefixCreateParams as PrefixCreateParams
-from .prefix_delete_params import PrefixDeleteParams as PrefixDeleteParams
from .service_list_response import ServiceListResponse as ServiceListResponse
from .prefix_delete_response import PrefixDeleteResponse as PrefixDeleteResponse
from .address_map_edit_params import AddressMapEditParams as AddressMapEditParams
from .address_map_get_response import AddressMapGetResponse as AddressMapGetResponse
from .address_map_create_params import AddressMapCreateParams as AddressMapCreateParams
-from .address_map_delete_params import AddressMapDeleteParams as AddressMapDeleteParams
from .loa_document_create_params import LOADocumentCreateParams as LOADocumentCreateParams
from .address_map_create_response import AddressMapCreateResponse as AddressMapCreateResponse
from .address_map_delete_response import AddressMapDeleteResponse as AddressMapDeleteResponse
diff --git a/src/cloudflare/types/addressing/address_map_delete_params.py b/src/cloudflare/types/addressing/address_map_delete_params.py
deleted file mode 100644
index 1e7b18b03ec..00000000000
--- a/src/cloudflare/types/addressing/address_map_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["AddressMapDeleteParams"]
-
-
-class AddressMapDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/addressing/address_maps/__init__.py b/src/cloudflare/types/addressing/address_maps/__init__.py
index 3ec4e9eda25..baa9905d0ed 100644
--- a/src/cloudflare/types/addressing/address_maps/__init__.py
+++ b/src/cloudflare/types/addressing/address_maps/__init__.py
@@ -2,15 +2,12 @@
from __future__ import annotations
-from .ip_delete_params import IPDeleteParams as IPDeleteParams
from .ip_update_params import IPUpdateParams as IPUpdateParams
from .ip_delete_response import IPDeleteResponse as IPDeleteResponse
from .ip_update_response import IPUpdateResponse as IPUpdateResponse
-from .zone_delete_params import ZoneDeleteParams as ZoneDeleteParams
from .zone_update_params import ZoneUpdateParams as ZoneUpdateParams
from .zone_delete_response import ZoneDeleteResponse as ZoneDeleteResponse
from .zone_update_response import ZoneUpdateResponse as ZoneUpdateResponse
-from .account_delete_params import AccountDeleteParams as AccountDeleteParams
from .account_update_params import AccountUpdateParams as AccountUpdateParams
from .account_delete_response import AccountDeleteResponse as AccountDeleteResponse
from .account_update_response import AccountUpdateResponse as AccountUpdateResponse
diff --git a/src/cloudflare/types/addressing/address_maps/account_delete_params.py b/src/cloudflare/types/addressing/address_maps/account_delete_params.py
deleted file mode 100644
index 7b03287d63c..00000000000
--- a/src/cloudflare/types/addressing/address_maps/account_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["AccountDeleteParams"]
-
-
-class AccountDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/addressing/address_maps/ip_delete_params.py b/src/cloudflare/types/addressing/address_maps/ip_delete_params.py
deleted file mode 100644
index ee8bd8d2752..00000000000
--- a/src/cloudflare/types/addressing/address_maps/ip_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["IPDeleteParams"]
-
-
-class IPDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- address_map_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/addressing/address_maps/zone_delete_params.py b/src/cloudflare/types/addressing/address_maps/zone_delete_params.py
deleted file mode 100644
index 36219801986..00000000000
--- a/src/cloudflare/types/addressing/address_maps/zone_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["ZoneDeleteParams"]
-
-
-class ZoneDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/addressing/prefix_delete_params.py b/src/cloudflare/types/addressing/prefix_delete_params.py
deleted file mode 100644
index b8f426f6d43..00000000000
--- a/src/cloudflare/types/addressing/prefix_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["PrefixDeleteParams"]
-
-
-class PrefixDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/addressing/prefixes/__init__.py b/src/cloudflare/types/addressing/prefixes/__init__.py
index 220f1b64757..3f5ae7763da 100644
--- a/src/cloudflare/types/addressing/prefixes/__init__.py
+++ b/src/cloudflare/types/addressing/prefixes/__init__.py
@@ -4,5 +4,4 @@
from .delegations import Delegations as Delegations
from .delegation_create_params import DelegationCreateParams as DelegationCreateParams
-from .delegation_delete_params import DelegationDeleteParams as DelegationDeleteParams
from .delegation_delete_response import DelegationDeleteResponse as DelegationDeleteResponse
diff --git a/src/cloudflare/types/addressing/prefixes/delegation_delete_params.py b/src/cloudflare/types/addressing/prefixes/delegation_delete_params.py
deleted file mode 100644
index f55e7392304..00000000000
--- a/src/cloudflare/types/addressing/prefixes/delegation_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["DelegationDeleteParams"]
-
-
-class DelegationDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- prefix_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/cache/__init__.py b/src/cloudflare/types/cache/__init__.py
index 203e43955f7..d31d3fae042 100644
--- a/src/cloudflare/types/cache/__init__.py
+++ b/src/cloudflare/types/cache/__init__.py
@@ -10,7 +10,6 @@
from .cache_purge_response import CachePurgeResponse as CachePurgeResponse
from .variant_get_response import VariantGetResponse as VariantGetResponse
from .regional_tiered_cache import RegionalTieredCache as RegionalTieredCache
-from .variant_delete_params import VariantDeleteParams as VariantDeleteParams
from .variant_edit_response import VariantEditResponse as VariantEditResponse
from .cache_variant_identifier import CacheVariantIdentifier as CacheVariantIdentifier
from .cache_reserve_edit_params import CacheReserveEditParams as CacheReserveEditParams
@@ -21,7 +20,6 @@
from .cache_reserve_status_response import CacheReserveStatusResponse as CacheReserveStatusResponse
from .smart_tiered_cache_edit_params import SmartTieredCacheEditParams as SmartTieredCacheEditParams
from .smart_tiered_cache_get_response import SmartTieredCacheGetResponse as SmartTieredCacheGetResponse
-from .smart_tiered_cache_delete_params import SmartTieredCacheDeleteParams as SmartTieredCacheDeleteParams
from .smart_tiered_cache_edit_response import SmartTieredCacheEditResponse as SmartTieredCacheEditResponse
from .regional_tiered_cache_edit_params import RegionalTieredCacheEditParams as RegionalTieredCacheEditParams
from .regional_tiered_cache_get_response import RegionalTieredCacheGetResponse as RegionalTieredCacheGetResponse
diff --git a/src/cloudflare/types/cache/smart_tiered_cache_delete_params.py b/src/cloudflare/types/cache/smart_tiered_cache_delete_params.py
deleted file mode 100644
index abf76298b5f..00000000000
--- a/src/cloudflare/types/cache/smart_tiered_cache_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["SmartTieredCacheDeleteParams"]
-
-
-class SmartTieredCacheDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/cache/variant_delete_params.py b/src/cloudflare/types/cache/variant_delete_params.py
deleted file mode 100644
index 86f4783d716..00000000000
--- a/src/cloudflare/types/cache/variant_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["VariantDeleteParams"]
-
-
-class VariantDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/custom_certificates/__init__.py b/src/cloudflare/types/custom_certificates/__init__.py
index d6d56312339..71831651ad0 100644
--- a/src/cloudflare/types/custom_certificates/__init__.py
+++ b/src/cloudflare/types/custom_certificates/__init__.py
@@ -11,7 +11,6 @@
from .custom_certificate_list_params import CustomCertificateListParams as CustomCertificateListParams
from .custom_certificate_get_response import CustomCertificateGetResponse as CustomCertificateGetResponse
from .custom_certificate_create_params import CustomCertificateCreateParams as CustomCertificateCreateParams
-from .custom_certificate_delete_params import CustomCertificateDeleteParams as CustomCertificateDeleteParams
from .custom_certificate_edit_response import CustomCertificateEditResponse as CustomCertificateEditResponse
from .custom_certificate_create_response import CustomCertificateCreateResponse as CustomCertificateCreateResponse
from .custom_certificate_delete_response import CustomCertificateDeleteResponse as CustomCertificateDeleteResponse
diff --git a/src/cloudflare/types/custom_certificates/custom_certificate_delete_params.py b/src/cloudflare/types/custom_certificates/custom_certificate_delete_params.py
deleted file mode 100644
index 2b9a145d0c7..00000000000
--- a/src/cloudflare/types/custom_certificates/custom_certificate_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["CustomCertificateDeleteParams"]
-
-
-class CustomCertificateDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/custom_hostnames/__init__.py b/src/cloudflare/types/custom_hostnames/__init__.py
index ba95ee9a287..c6bdf8da108 100644
--- a/src/cloudflare/types/custom_hostnames/__init__.py
+++ b/src/cloudflare/types/custom_hostnames/__init__.py
@@ -10,10 +10,8 @@
from .custom_hostname_get_response import CustomHostnameGetResponse as CustomHostnameGetResponse
from .fallback_origin_get_response import FallbackOriginGetResponse as FallbackOriginGetResponse
from .custom_hostname_create_params import CustomHostnameCreateParams as CustomHostnameCreateParams
-from .custom_hostname_delete_params import CustomHostnameDeleteParams as CustomHostnameDeleteParams
from .custom_hostname_edit_response import CustomHostnameEditResponse as CustomHostnameEditResponse
from .custom_hostname_list_response import CustomHostnameListResponse as CustomHostnameListResponse
-from .fallback_origin_delete_params import FallbackOriginDeleteParams as FallbackOriginDeleteParams
from .fallback_origin_update_params import FallbackOriginUpdateParams as FallbackOriginUpdateParams
from .custom_hostname_create_response import CustomHostnameCreateResponse as CustomHostnameCreateResponse
from .custom_hostname_delete_response import CustomHostnameDeleteResponse as CustomHostnameDeleteResponse
diff --git a/src/cloudflare/types/custom_hostnames/custom_hostname_delete_params.py b/src/cloudflare/types/custom_hostnames/custom_hostname_delete_params.py
deleted file mode 100644
index 3c96f695143..00000000000
--- a/src/cloudflare/types/custom_hostnames/custom_hostname_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["CustomHostnameDeleteParams"]
-
-
-class CustomHostnameDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/custom_hostnames/fallback_origin_delete_params.py b/src/cloudflare/types/custom_hostnames/fallback_origin_delete_params.py
deleted file mode 100644
index 4b3fd914a43..00000000000
--- a/src/cloudflare/types/custom_hostnames/fallback_origin_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["FallbackOriginDeleteParams"]
-
-
-class FallbackOriginDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/custom_nameservers/__init__.py b/src/cloudflare/types/custom_nameservers/__init__.py
index 50319977db9..67531c81bc0 100644
--- a/src/cloudflare/types/custom_nameservers/__init__.py
+++ b/src/cloudflare/types/custom_nameservers/__init__.py
@@ -5,7 +5,6 @@
from .custom_nameserver import CustomNameserver as CustomNameserver
from .custom_nameserver_get_response import CustomNameserverGetResponse as CustomNameserverGetResponse
from .custom_nameserver_create_params import CustomNameserverCreateParams as CustomNameserverCreateParams
-from .custom_nameserver_delete_params import CustomNameserverDeleteParams as CustomNameserverDeleteParams
from .custom_nameserver_verify_params import CustomNameserverVerifyParams as CustomNameserverVerifyParams
from .custom_nameserver_delete_response import CustomNameserverDeleteResponse as CustomNameserverDeleteResponse
from .custom_nameserver_verify_response import CustomNameserverVerifyResponse as CustomNameserverVerifyResponse
diff --git a/src/cloudflare/types/custom_nameservers/custom_nameserver_delete_params.py b/src/cloudflare/types/custom_nameservers/custom_nameserver_delete_params.py
deleted file mode 100644
index 119813a19f7..00000000000
--- a/src/cloudflare/types/custom_nameservers/custom_nameserver_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["CustomNameserverDeleteParams"]
-
-
-class CustomNameserverDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Account identifier tag."""
-
- body: Required[object]
diff --git a/src/cloudflare/types/dns/__init__.py b/src/cloudflare/types/dns/__init__.py
index 8f291b22a54..5966582d8bf 100644
--- a/src/cloudflare/types/dns/__init__.py
+++ b/src/cloudflare/types/dns/__init__.py
@@ -40,13 +40,11 @@
from .firewall_edit_params import FirewallEditParams as FirewallEditParams
from .firewall_list_params import FirewallListParams as FirewallListParams
from .record_create_params import RecordCreateParams as RecordCreateParams
-from .record_delete_params import RecordDeleteParams as RecordDeleteParams
from .record_import_params import RecordImportParams as RecordImportParams
from .record_scan_response import RecordScanResponse as RecordScanResponse
from .record_update_params import RecordUpdateParams as RecordUpdateParams
from .record_process_timing import RecordProcessTiming as RecordProcessTiming
from .firewall_create_params import FirewallCreateParams as FirewallCreateParams
-from .firewall_delete_params import FirewallDeleteParams as FirewallDeleteParams
from .record_delete_response import RecordDeleteResponse as RecordDeleteResponse
from .record_export_response import RecordExportResponse as RecordExportResponse
from .record_import_response import RecordImportResponse as RecordImportResponse
diff --git a/src/cloudflare/types/dns/firewall_delete_params.py b/src/cloudflare/types/dns/firewall_delete_params.py
deleted file mode 100644
index e0fc1fb1cf2..00000000000
--- a/src/cloudflare/types/dns/firewall_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["FirewallDeleteParams"]
-
-
-class FirewallDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/dns/record_delete_params.py b/src/cloudflare/types/dns/record_delete_params.py
deleted file mode 100644
index 2c6bdd46f11..00000000000
--- a/src/cloudflare/types/dns/record_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["RecordDeleteParams"]
-
-
-class RecordDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/dnssec/__init__.py b/src/cloudflare/types/dnssec/__init__.py
index ee2cb757f84..a8c3b38cc31 100644
--- a/src/cloudflare/types/dnssec/__init__.py
+++ b/src/cloudflare/types/dnssec/__init__.py
@@ -4,5 +4,4 @@
from .dnssec import DNSSEC as DNSSEC
from .dnssec_edit_params import DNSSECEditParams as DNSSECEditParams
-from .dnssec_delete_params import DNSSECDeleteParams as DNSSECDeleteParams
from .dnssec_delete_response import DNSSECDeleteResponse as DNSSECDeleteResponse
diff --git a/src/cloudflare/types/dnssec/dnssec_delete_params.py b/src/cloudflare/types/dnssec/dnssec_delete_params.py
deleted file mode 100644
index a162028cb6a..00000000000
--- a/src/cloudflare/types/dnssec/dnssec_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["DNSSECDeleteParams"]
-
-
-class DNSSECDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/filters/__init__.py b/src/cloudflare/types/filters/__init__.py
index 0be276f7d5c..14ec0c81123 100644
--- a/src/cloudflare/types/filters/__init__.py
+++ b/src/cloudflare/types/filters/__init__.py
@@ -5,6 +5,5 @@
from .firewall_filter import FirewallFilter as FirewallFilter
from .filter_list_params import FilterListParams as FilterListParams
from .filter_create_params import FilterCreateParams as FilterCreateParams
-from .filter_delete_params import FilterDeleteParams as FilterDeleteParams
from .filter_update_params import FilterUpdateParams as FilterUpdateParams
from .filter_create_response import FilterCreateResponse as FilterCreateResponse
diff --git a/src/cloudflare/types/filters/filter_delete_params.py b/src/cloudflare/types/filters/filter_delete_params.py
deleted file mode 100644
index 92e7b099d7d..00000000000
--- a/src/cloudflare/types/filters/filter_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["FilterDeleteParams"]
-
-
-class FilterDeleteParams(TypedDict, total=False):
- zone_identifier: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/firewall/__init__.py b/src/cloudflare/types/firewall/__init__.py
index 01d553c8cc4..3c81f93f594 100644
--- a/src/cloudflare/types/firewall/__init__.py
+++ b/src/cloudflare/types/firewall/__init__.py
@@ -12,7 +12,6 @@
from .rule_edit_params import RuleEditParams as RuleEditParams
from .rule_list_params import RuleListParams as RuleListParams
from .rule_create_params import RuleCreateParams as RuleCreateParams
-from .rule_delete_params import RuleDeleteParams as RuleDeleteParams
from .rule_edit_response import RuleEditResponse as RuleEditResponse
from .rule_update_params import RuleUpdateParams as RuleUpdateParams
from .ua_rule_list_params import UARuleListParams as UARuleListParams
@@ -20,11 +19,9 @@
from .rule_create_response import RuleCreateResponse as RuleCreateResponse
from .ua_rule_get_response import UARuleGetResponse as UARuleGetResponse
from .ua_rule_create_params import UARuleCreateParams as UARuleCreateParams
-from .ua_rule_delete_params import UARuleDeleteParams as UARuleDeleteParams
from .ua_rule_list_response import UARuleListResponse as UARuleListResponse
from .ua_rule_update_params import UARuleUpdateParams as UARuleUpdateParams
from .lockdown_create_params import LockdownCreateParams as LockdownCreateParams
-from .lockdown_delete_params import LockdownDeleteParams as LockdownDeleteParams
from .lockdown_update_params import LockdownUpdateParams as LockdownUpdateParams
from .access_rule_edit_params import AccessRuleEditParams as AccessRuleEditParams
from .access_rule_list_params import AccessRuleListParams as AccessRuleListParams
@@ -36,7 +33,6 @@
from .ipv6_configuration_param import IPV6ConfigurationParam as IPV6ConfigurationParam
from .lockdown_delete_response import LockdownDeleteResponse as LockdownDeleteResponse
from .access_rule_create_params import AccessRuleCreateParams as AccessRuleCreateParams
-from .access_rule_delete_params import AccessRuleDeleteParams as AccessRuleDeleteParams
from .access_rule_edit_response import AccessRuleEditResponse as AccessRuleEditResponse
from .lockdown_ip_configuration import LockdownIPConfiguration as LockdownIPConfiguration
from .access_rule_create_response import AccessRuleCreateResponse as AccessRuleCreateResponse
diff --git a/src/cloudflare/types/firewall/access_rule_delete_params.py b/src/cloudflare/types/firewall/access_rule_delete_params.py
deleted file mode 100644
index e3452b077eb..00000000000
--- a/src/cloudflare/types/firewall/access_rule_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["AccessRuleDeleteParams"]
-
-
-class AccessRuleDeleteParams(TypedDict, total=False):
- body: Required[object]
-
- account_id: str
- """The Account ID to use for this endpoint. Mutually exclusive with the Zone ID."""
-
- zone_id: str
- """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
diff --git a/src/cloudflare/types/firewall/lockdown_delete_params.py b/src/cloudflare/types/firewall/lockdown_delete_params.py
deleted file mode 100644
index c56000f1e92..00000000000
--- a/src/cloudflare/types/firewall/lockdown_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["LockdownDeleteParams"]
-
-
-class LockdownDeleteParams(TypedDict, total=False):
- zone_identifier: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/firewall/rule_delete_params.py b/src/cloudflare/types/firewall/rule_delete_params.py
deleted file mode 100644
index f02410c8608..00000000000
--- a/src/cloudflare/types/firewall/rule_delete_params.py
+++ /dev/null
@@ -1,18 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["RuleDeleteParams"]
-
-
-class RuleDeleteParams(TypedDict, total=False):
- zone_identifier: Required[str]
- """Identifier"""
-
- delete_filter_if_unused: bool
- """
- When true, indicates that Cloudflare should also delete the associated filter if
- there are no other firewall rules referencing the filter.
- """
diff --git a/src/cloudflare/types/firewall/ua_rule_delete_params.py b/src/cloudflare/types/firewall/ua_rule_delete_params.py
deleted file mode 100644
index ff1566c3eb5..00000000000
--- a/src/cloudflare/types/firewall/ua_rule_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["UARuleDeleteParams"]
-
-
-class UARuleDeleteParams(TypedDict, total=False):
- zone_identifier: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/firewall/waf/__init__.py b/src/cloudflare/types/firewall/waf/__init__.py
index a6f42971f3e..1ab23bf139b 100644
--- a/src/cloudflare/types/firewall/waf/__init__.py
+++ b/src/cloudflare/types/firewall/waf/__init__.py
@@ -11,6 +11,5 @@
from .package_get_response import PackageGetResponse as PackageGetResponse
from .package_list_response import PackageListResponse as PackageListResponse
from .override_create_params import OverrideCreateParams as OverrideCreateParams
-from .override_delete_params import OverrideDeleteParams as OverrideDeleteParams
from .override_update_params import OverrideUpdateParams as OverrideUpdateParams
from .override_delete_response import OverrideDeleteResponse as OverrideDeleteResponse
diff --git a/src/cloudflare/types/firewall/waf/override_delete_params.py b/src/cloudflare/types/firewall/waf/override_delete_params.py
deleted file mode 100644
index 9a4c0e0fa57..00000000000
--- a/src/cloudflare/types/firewall/waf/override_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["OverrideDeleteParams"]
-
-
-class OverrideDeleteParams(TypedDict, total=False):
- zone_identifier: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/healthchecks/__init__.py b/src/cloudflare/types/healthchecks/__init__.py
index c40061ff8bb..ff058b95031 100644
--- a/src/cloudflare/types/healthchecks/__init__.py
+++ b/src/cloudflare/types/healthchecks/__init__.py
@@ -7,13 +7,11 @@
from .tcp_configuration import TCPConfiguration as TCPConfiguration
from .http_configuration import HTTPConfiguration as HTTPConfiguration
from .preview_create_params import PreviewCreateParams as PreviewCreateParams
-from .preview_delete_params import PreviewDeleteParams as PreviewDeleteParams
from .healthcheck_edit_params import HealthcheckEditParams as HealthcheckEditParams
from .healthcheck_list_params import HealthcheckListParams as HealthcheckListParams
from .preview_delete_response import PreviewDeleteResponse as PreviewDeleteResponse
from .tcp_configuration_param import TCPConfigurationParam as TCPConfigurationParam
from .http_configuration_param import HTTPConfigurationParam as HTTPConfigurationParam
from .healthcheck_create_params import HealthcheckCreateParams as HealthcheckCreateParams
-from .healthcheck_delete_params import HealthcheckDeleteParams as HealthcheckDeleteParams
from .healthcheck_update_params import HealthcheckUpdateParams as HealthcheckUpdateParams
from .healthcheck_delete_response import HealthcheckDeleteResponse as HealthcheckDeleteResponse
diff --git a/src/cloudflare/types/healthchecks/healthcheck_delete_params.py b/src/cloudflare/types/healthchecks/healthcheck_delete_params.py
deleted file mode 100644
index f5e2b2d458f..00000000000
--- a/src/cloudflare/types/healthchecks/healthcheck_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["HealthcheckDeleteParams"]
-
-
-class HealthcheckDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/healthchecks/preview_delete_params.py b/src/cloudflare/types/healthchecks/preview_delete_params.py
deleted file mode 100644
index 0c0c7c54e29..00000000000
--- a/src/cloudflare/types/healthchecks/preview_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["PreviewDeleteParams"]
-
-
-class PreviewDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/images/__init__.py b/src/cloudflare/types/images/__init__.py
index 30dfb30e782..82bb5061aac 100644
--- a/src/cloudflare/types/images/__init__.py
+++ b/src/cloudflare/types/images/__init__.py
@@ -7,7 +7,6 @@
from .v1_list_params import V1ListParams as V1ListParams
from .v2_list_params import V2ListParams as V2ListParams
from .v1_create_params import V1CreateParams as V1CreateParams
-from .v1_delete_params import V1DeleteParams as V1DeleteParams
from .v1_list_response import V1ListResponse as V1ListResponse
from .v2_list_response import V2ListResponse as V2ListResponse
from .v1_delete_response import V1DeleteResponse as V1DeleteResponse
diff --git a/src/cloudflare/types/images/v1/__init__.py b/src/cloudflare/types/images/v1/__init__.py
index 9728296b698..b027cfebcfb 100644
--- a/src/cloudflare/types/images/v1/__init__.py
+++ b/src/cloudflare/types/images/v1/__init__.py
@@ -11,7 +11,6 @@
from .variant_edit_params import VariantEditParams as VariantEditParams
from .variant_get_response import VariantGetResponse as VariantGetResponse
from .variant_create_params import VariantCreateParams as VariantCreateParams
-from .variant_delete_params import VariantDeleteParams as VariantDeleteParams
from .variant_edit_response import VariantEditResponse as VariantEditResponse
from .variant_create_response import VariantCreateResponse as VariantCreateResponse
from .variant_delete_response import VariantDeleteResponse as VariantDeleteResponse
diff --git a/src/cloudflare/types/images/v1/variant_delete_params.py b/src/cloudflare/types/images/v1/variant_delete_params.py
deleted file mode 100644
index 08386e60a21..00000000000
--- a/src/cloudflare/types/images/v1/variant_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["VariantDeleteParams"]
-
-
-class VariantDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Account identifier tag."""
-
- body: Required[object]
diff --git a/src/cloudflare/types/images/v1_delete_params.py b/src/cloudflare/types/images/v1_delete_params.py
deleted file mode 100644
index dd7e4372beb..00000000000
--- a/src/cloudflare/types/images/v1_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["V1DeleteParams"]
-
-
-class V1DeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Account identifier tag."""
-
- body: Required[object]
diff --git a/src/cloudflare/types/intel/attack_surface_report/__init__.py b/src/cloudflare/types/intel/attack_surface_report/__init__.py
index 65bb5364128..a283d5acd80 100644
--- a/src/cloudflare/types/intel/attack_surface_report/__init__.py
+++ b/src/cloudflare/types/intel/attack_surface_report/__init__.py
@@ -3,9 +3,6 @@
from __future__ import annotations
from .issue_type import IssueType as IssueType
-from .product_param import ProductParam as ProductParam
-from .subject_param import SubjectParam as SubjectParam
-from .issue_class_param import IssueClassParam as IssueClassParam
from .issue_list_params import IssueListParams as IssueListParams
from .issue_type_params import IssueTypeParams as IssueTypeParams
from .issue_class_params import IssueClassParams as IssueClassParams
diff --git a/src/cloudflare/types/intel/attack_surface_report/issue_class_param.py b/src/cloudflare/types/intel/attack_surface_report/issue_class_param.py
deleted file mode 100644
index 2f14613c861..00000000000
--- a/src/cloudflare/types/intel/attack_surface_report/issue_class_param.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing import List
-
-__all__ = ["IssueClassParamItem"]
-
-IssueClassParamItem = str
-
-IssueClassParam = List[str]
diff --git a/src/cloudflare/types/intel/attack_surface_report/issue_class_params.py b/src/cloudflare/types/intel/attack_surface_report/issue_class_params.py
index dba6dbee763..c1491016c5c 100644
--- a/src/cloudflare/types/intel/attack_surface_report/issue_class_params.py
+++ b/src/cloudflare/types/intel/attack_surface_report/issue_class_params.py
@@ -7,9 +7,6 @@
from ...._utils import PropertyInfo
from .issue_type import IssueType
-from .product_param import ProductParam
-from .subject_param import SubjectParam
-from .issue_class_param import IssueClassParam
from .severity_query_param import SeverityQueryParam
__all__ = ["IssueClassParams"]
@@ -21,22 +18,22 @@ class IssueClassParams(TypedDict, total=False):
dismissed: bool
- issue_class: IssueClassParam
+ issue_class: List[str]
- issue_class_neq: Annotated[IssueClassParam, PropertyInfo(alias="issue_class~neq")]
+ issue_class_neq: Annotated[List[str], PropertyInfo(alias="issue_class~neq")]
issue_type: List[IssueType]
issue_type_neq: Annotated[List[IssueType], PropertyInfo(alias="issue_type~neq")]
- product: ProductParam
+ product: List[str]
- product_neq: Annotated[ProductParam, PropertyInfo(alias="product~neq")]
+ product_neq: Annotated[List[str], PropertyInfo(alias="product~neq")]
severity: List[SeverityQueryParam]
severity_neq: Annotated[List[SeverityQueryParam], PropertyInfo(alias="severity~neq")]
- subject: SubjectParam
+ subject: List[str]
- subject_neq: Annotated[SubjectParam, PropertyInfo(alias="subject~neq")]
+ subject_neq: Annotated[List[str], PropertyInfo(alias="subject~neq")]
diff --git a/src/cloudflare/types/intel/attack_surface_report/issue_list_params.py b/src/cloudflare/types/intel/attack_surface_report/issue_list_params.py
index 8a29f8fb941..99a5eba82cc 100644
--- a/src/cloudflare/types/intel/attack_surface_report/issue_list_params.py
+++ b/src/cloudflare/types/intel/attack_surface_report/issue_list_params.py
@@ -7,9 +7,6 @@
from ...._utils import PropertyInfo
from .issue_type import IssueType
-from .product_param import ProductParam
-from .subject_param import SubjectParam
-from .issue_class_param import IssueClassParam
from .severity_query_param import SeverityQueryParam
__all__ = ["IssueListParams"]
@@ -21,9 +18,9 @@ class IssueListParams(TypedDict, total=False):
dismissed: bool
- issue_class: IssueClassParam
+ issue_class: List[str]
- issue_class_neq: Annotated[IssueClassParam, PropertyInfo(alias="issue_class~neq")]
+ issue_class_neq: Annotated[List[str], PropertyInfo(alias="issue_class~neq")]
issue_type: List[IssueType]
@@ -35,14 +32,14 @@ class IssueListParams(TypedDict, total=False):
per_page: int
"""Number of results per page of results"""
- product: ProductParam
+ product: List[str]
- product_neq: Annotated[ProductParam, PropertyInfo(alias="product~neq")]
+ product_neq: Annotated[List[str], PropertyInfo(alias="product~neq")]
severity: List[SeverityQueryParam]
severity_neq: Annotated[List[SeverityQueryParam], PropertyInfo(alias="severity~neq")]
- subject: SubjectParam
+ subject: List[str]
- subject_neq: Annotated[SubjectParam, PropertyInfo(alias="subject~neq")]
+ subject_neq: Annotated[List[str], PropertyInfo(alias="subject~neq")]
diff --git a/src/cloudflare/types/intel/attack_surface_report/issue_severity_params.py b/src/cloudflare/types/intel/attack_surface_report/issue_severity_params.py
index 7eab3a44454..bb92b4f2777 100644
--- a/src/cloudflare/types/intel/attack_surface_report/issue_severity_params.py
+++ b/src/cloudflare/types/intel/attack_surface_report/issue_severity_params.py
@@ -7,9 +7,6 @@
from ...._utils import PropertyInfo
from .issue_type import IssueType
-from .product_param import ProductParam
-from .subject_param import SubjectParam
-from .issue_class_param import IssueClassParam
from .severity_query_param import SeverityQueryParam
__all__ = ["IssueSeverityParams"]
@@ -21,22 +18,22 @@ class IssueSeverityParams(TypedDict, total=False):
dismissed: bool
- issue_class: IssueClassParam
+ issue_class: List[str]
- issue_class_neq: Annotated[IssueClassParam, PropertyInfo(alias="issue_class~neq")]
+ issue_class_neq: Annotated[List[str], PropertyInfo(alias="issue_class~neq")]
issue_type: List[IssueType]
issue_type_neq: Annotated[List[IssueType], PropertyInfo(alias="issue_type~neq")]
- product: ProductParam
+ product: List[str]
- product_neq: Annotated[ProductParam, PropertyInfo(alias="product~neq")]
+ product_neq: Annotated[List[str], PropertyInfo(alias="product~neq")]
severity: List[SeverityQueryParam]
severity_neq: Annotated[List[SeverityQueryParam], PropertyInfo(alias="severity~neq")]
- subject: SubjectParam
+ subject: List[str]
- subject_neq: Annotated[SubjectParam, PropertyInfo(alias="subject~neq")]
+ subject_neq: Annotated[List[str], PropertyInfo(alias="subject~neq")]
diff --git a/src/cloudflare/types/intel/attack_surface_report/issue_type_params.py b/src/cloudflare/types/intel/attack_surface_report/issue_type_params.py
index 6f7e7d888d7..9f3b934bee5 100644
--- a/src/cloudflare/types/intel/attack_surface_report/issue_type_params.py
+++ b/src/cloudflare/types/intel/attack_surface_report/issue_type_params.py
@@ -7,9 +7,6 @@
from ...._utils import PropertyInfo
from .issue_type import IssueType
-from .product_param import ProductParam
-from .subject_param import SubjectParam
-from .issue_class_param import IssueClassParam
from .severity_query_param import SeverityQueryParam
__all__ = ["IssueTypeParams"]
@@ -21,22 +18,22 @@ class IssueTypeParams(TypedDict, total=False):
dismissed: bool
- issue_class: IssueClassParam
+ issue_class: List[str]
- issue_class_neq: Annotated[IssueClassParam, PropertyInfo(alias="issue_class~neq")]
+ issue_class_neq: Annotated[List[str], PropertyInfo(alias="issue_class~neq")]
issue_type: List[IssueType]
issue_type_neq: Annotated[List[IssueType], PropertyInfo(alias="issue_type~neq")]
- product: ProductParam
+ product: List[str]
- product_neq: Annotated[ProductParam, PropertyInfo(alias="product~neq")]
+ product_neq: Annotated[List[str], PropertyInfo(alias="product~neq")]
severity: List[SeverityQueryParam]
severity_neq: Annotated[List[SeverityQueryParam], PropertyInfo(alias="severity~neq")]
- subject: SubjectParam
+ subject: List[str]
- subject_neq: Annotated[SubjectParam, PropertyInfo(alias="subject~neq")]
+ subject_neq: Annotated[List[str], PropertyInfo(alias="subject~neq")]
diff --git a/src/cloudflare/types/intel/attack_surface_report/product_param.py b/src/cloudflare/types/intel/attack_surface_report/product_param.py
deleted file mode 100644
index 430d17c2f52..00000000000
--- a/src/cloudflare/types/intel/attack_surface_report/product_param.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing import List
-
-__all__ = ["ProductParamItem"]
-
-ProductParamItem = str
-
-ProductParam = List[str]
diff --git a/src/cloudflare/types/intel/attack_surface_report/subject_param.py b/src/cloudflare/types/intel/attack_surface_report/subject_param.py
deleted file mode 100644
index f360f7d73b0..00000000000
--- a/src/cloudflare/types/intel/attack_surface_report/subject_param.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing import List
-
-__all__ = ["SubjectParamItem"]
-
-SubjectParamItem = str
-
-SubjectParam = List[str]
diff --git a/src/cloudflare/types/keyless_certificates/__init__.py b/src/cloudflare/types/keyless_certificates/__init__.py
index 426c1485f9b..5588d3655d0 100644
--- a/src/cloudflare/types/keyless_certificates/__init__.py
+++ b/src/cloudflare/types/keyless_certificates/__init__.py
@@ -7,5 +7,4 @@
from .keyless_certificate import KeylessCertificate as KeylessCertificate
from .keyless_certificate_edit_params import KeylessCertificateEditParams as KeylessCertificateEditParams
from .keyless_certificate_create_params import KeylessCertificateCreateParams as KeylessCertificateCreateParams
-from .keyless_certificate_delete_params import KeylessCertificateDeleteParams as KeylessCertificateDeleteParams
from .keyless_certificate_delete_response import KeylessCertificateDeleteResponse as KeylessCertificateDeleteResponse
diff --git a/src/cloudflare/types/keyless_certificates/keyless_certificate_delete_params.py b/src/cloudflare/types/keyless_certificates/keyless_certificate_delete_params.py
deleted file mode 100644
index 0c01222a189..00000000000
--- a/src/cloudflare/types/keyless_certificates/keyless_certificate_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["KeylessCertificateDeleteParams"]
-
-
-class KeylessCertificateDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/kv/__init__.py b/src/cloudflare/types/kv/__init__.py
index 266c496fe4f..e345eaf540a 100644
--- a/src/cloudflare/types/kv/__init__.py
+++ b/src/cloudflare/types/kv/__init__.py
@@ -5,7 +5,6 @@
from .namespace import Namespace as Namespace
from .namespace_list_params import NamespaceListParams as NamespaceListParams
from .namespace_create_params import NamespaceCreateParams as NamespaceCreateParams
-from .namespace_delete_params import NamespaceDeleteParams as NamespaceDeleteParams
from .namespace_update_params import NamespaceUpdateParams as NamespaceUpdateParams
from .namespace_delete_response import NamespaceDeleteResponse as NamespaceDeleteResponse
from .namespace_update_response import NamespaceUpdateResponse as NamespaceUpdateResponse
diff --git a/src/cloudflare/types/kv/namespace_delete_params.py b/src/cloudflare/types/kv/namespace_delete_params.py
deleted file mode 100644
index 6746fa4e15b..00000000000
--- a/src/cloudflare/types/kv/namespace_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["NamespaceDeleteParams"]
-
-
-class NamespaceDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/kv/namespaces/__init__.py b/src/cloudflare/types/kv/namespaces/__init__.py
index 4d7671ae206..e7c21904155 100644
--- a/src/cloudflare/types/kv/namespaces/__init__.py
+++ b/src/cloudflare/types/kv/namespaces/__init__.py
@@ -4,10 +4,8 @@
from .key import Key as Key
from .key_list_params import KeyListParams as KeyListParams
-from .bulk_delete_params import BulkDeleteParams as BulkDeleteParams
from .bulk_update_params import BulkUpdateParams as BulkUpdateParams
from .value_get_response import ValueGetResponse as ValueGetResponse
-from .value_delete_params import ValueDeleteParams as ValueDeleteParams
from .value_update_params import ValueUpdateParams as ValueUpdateParams
from .bulk_delete_response import BulkDeleteResponse as BulkDeleteResponse
from .bulk_update_response import BulkUpdateResponse as BulkUpdateResponse
diff --git a/src/cloudflare/types/kv/namespaces/bulk_delete_params.py b/src/cloudflare/types/kv/namespaces/bulk_delete_params.py
deleted file mode 100644
index b2a56aa7692..00000000000
--- a/src/cloudflare/types/kv/namespaces/bulk_delete_params.py
+++ /dev/null
@@ -1,15 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing import List
-from typing_extensions import Required, TypedDict
-
-__all__ = ["BulkDeleteParams"]
-
-
-class BulkDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[List[str]]
diff --git a/src/cloudflare/types/kv/namespaces/value_delete_params.py b/src/cloudflare/types/kv/namespaces/value_delete_params.py
deleted file mode 100644
index fa7adc789f1..00000000000
--- a/src/cloudflare/types/kv/namespaces/value_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["ValueDeleteParams"]
-
-
-class ValueDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- namespace_id: Required[str]
- """Namespace identifier tag."""
-
- body: Required[object]
diff --git a/src/cloudflare/types/load_balancers/__init__.py b/src/cloudflare/types/load_balancers/__init__.py
index 22ae0e993e9..bbd0f9aa489 100644
--- a/src/cloudflare/types/load_balancers/__init__.py
+++ b/src/cloudflare/types/load_balancers/__init__.py
@@ -24,7 +24,6 @@
from .location_strategy import LocationStrategy as LocationStrategy
from .search_get_params import SearchGetParams as SearchGetParams
from .pool_create_params import PoolCreateParams as PoolCreateParams
-from .pool_delete_params import PoolDeleteParams as PoolDeleteParams
from .pool_update_params import PoolUpdateParams as PoolUpdateParams
from .region_list_params import RegionListParams as RegionListParams
from .load_shedding_param import LoadSheddingParam as LoadSheddingParam
@@ -37,7 +36,6 @@
from .preview_get_response import PreviewGetResponse as PreviewGetResponse
from .region_list_response import RegionListResponse as RegionListResponse
from .monitor_create_params import MonitorCreateParams as MonitorCreateParams
-from .monitor_delete_params import MonitorDeleteParams as MonitorDeleteParams
from .monitor_update_params import MonitorUpdateParams as MonitorUpdateParams
from .origin_steering_param import OriginSteeringParam as OriginSteeringParam
from .random_steering_param import RandomSteeringParam as RandomSteeringParam
@@ -47,7 +45,6 @@
from .load_balancer_edit_params import LoadBalancerEditParams as LoadBalancerEditParams
from .notification_filter_param import NotificationFilterParam as NotificationFilterParam
from .load_balancer_create_params import LoadBalancerCreateParams as LoadBalancerCreateParams
-from .load_balancer_delete_params import LoadBalancerDeleteParams as LoadBalancerDeleteParams
from .load_balancer_update_params import LoadBalancerUpdateParams as LoadBalancerUpdateParams
from .session_affinity_attributes import SessionAffinityAttributes as SessionAffinityAttributes
from .load_balancer_delete_response import LoadBalancerDeleteResponse as LoadBalancerDeleteResponse
diff --git a/src/cloudflare/types/load_balancers/load_balancer_delete_params.py b/src/cloudflare/types/load_balancers/load_balancer_delete_params.py
deleted file mode 100644
index 0a984d696bb..00000000000
--- a/src/cloudflare/types/load_balancers/load_balancer_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["LoadBalancerDeleteParams"]
-
-
-class LoadBalancerDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/load_balancers/monitor_delete_params.py b/src/cloudflare/types/load_balancers/monitor_delete_params.py
deleted file mode 100644
index 3b797bbce86..00000000000
--- a/src/cloudflare/types/load_balancers/monitor_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["MonitorDeleteParams"]
-
-
-class MonitorDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/load_balancers/pool_delete_params.py b/src/cloudflare/types/load_balancers/pool_delete_params.py
deleted file mode 100644
index 72fd555490c..00000000000
--- a/src/cloudflare/types/load_balancers/pool_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["PoolDeleteParams"]
-
-
-class PoolDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/logpush/__init__.py b/src/cloudflare/types/logpush/__init__.py
index e3eaa13d9d2..b7f78156bfc 100644
--- a/src/cloudflare/types/logpush/__init__.py
+++ b/src/cloudflare/types/logpush/__init__.py
@@ -6,7 +6,6 @@
from .output_options import OutputOptions as OutputOptions
from .edge_get_response import EdgeGetResponse as EdgeGetResponse
from .job_create_params import JobCreateParams as JobCreateParams
-from .job_delete_params import JobDeleteParams as JobDeleteParams
from .job_update_params import JobUpdateParams as JobUpdateParams
from .edge_create_params import EdgeCreateParams as EdgeCreateParams
from .instant_logpush_job import InstantLogpushJob as InstantLogpushJob
diff --git a/src/cloudflare/types/logpush/job_delete_params.py b/src/cloudflare/types/logpush/job_delete_params.py
deleted file mode 100644
index d6acbb0d4cf..00000000000
--- a/src/cloudflare/types/logpush/job_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["JobDeleteParams"]
-
-
-class JobDeleteParams(TypedDict, total=False):
- body: Required[object]
-
- account_id: str
- """The Account ID to use for this endpoint. Mutually exclusive with the Zone ID."""
-
- zone_id: str
- """The Zone ID to use for this endpoint. Mutually exclusive with the Account ID."""
diff --git a/src/cloudflare/types/logs/control/cmb/__init__.py b/src/cloudflare/types/logs/control/cmb/__init__.py
index d96a935ea5d..ac85408465a 100644
--- a/src/cloudflare/types/logs/control/cmb/__init__.py
+++ b/src/cloudflare/types/logs/control/cmb/__init__.py
@@ -4,4 +4,3 @@
from .cmb_config import CmbConfig as CmbConfig
from .config_create_params import ConfigCreateParams as ConfigCreateParams
-from .config_delete_params import ConfigDeleteParams as ConfigDeleteParams
diff --git a/src/cloudflare/types/logs/control/cmb/config_delete_params.py b/src/cloudflare/types/logs/control/cmb/config_delete_params.py
deleted file mode 100644
index 18c5f56fe91..00000000000
--- a/src/cloudflare/types/logs/control/cmb/config_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["ConfigDeleteParams"]
-
-
-class ConfigDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/magic_network_monitoring/__init__.py b/src/cloudflare/types/magic_network_monitoring/__init__.py
index 2256b95c967..68ec6897c01 100644
--- a/src/cloudflare/types/magic_network_monitoring/__init__.py
+++ b/src/cloudflare/types/magic_network_monitoring/__init__.py
@@ -6,9 +6,7 @@
from .rule_edit_params import RuleEditParams as RuleEditParams
from .config_edit_params import ConfigEditParams as ConfigEditParams
from .rule_create_params import RuleCreateParams as RuleCreateParams
-from .rule_delete_params import RuleDeleteParams as RuleDeleteParams
from .rule_update_params import RuleUpdateParams as RuleUpdateParams
from .config_create_params import ConfigCreateParams as ConfigCreateParams
-from .config_delete_params import ConfigDeleteParams as ConfigDeleteParams
from .config_update_params import ConfigUpdateParams as ConfigUpdateParams
from .magic_network_monitoring_rule import MagicNetworkMonitoringRule as MagicNetworkMonitoringRule
diff --git a/src/cloudflare/types/magic_network_monitoring/config_delete_params.py b/src/cloudflare/types/magic_network_monitoring/config_delete_params.py
deleted file mode 100644
index 10abc8efd59..00000000000
--- a/src/cloudflare/types/magic_network_monitoring/config_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["ConfigDeleteParams"]
-
-
-class ConfigDeleteParams(TypedDict, total=False):
- account_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/magic_network_monitoring/rule_delete_params.py b/src/cloudflare/types/magic_network_monitoring/rule_delete_params.py
deleted file mode 100644
index f729aaf685c..00000000000
--- a/src/cloudflare/types/magic_network_monitoring/rule_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["RuleDeleteParams"]
-
-
-class RuleDeleteParams(TypedDict, total=False):
- account_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/magic_transit/__init__.py b/src/cloudflare/types/magic_transit/__init__.py
index ab997685622..98e253df212 100644
--- a/src/cloudflare/types/magic_transit/__init__.py
+++ b/src/cloudflare/types/magic_transit/__init__.py
@@ -4,25 +4,18 @@
from .site import Site as Site
from .scope import Scope as Scope
-from .colo_name import ColoName as ColoName
-from .colo_region import ColoRegion as ColoRegion
from .scope_param import ScopeParam as ScopeParam
from .health_check import HealthCheck as HealthCheck
from .psk_metadata import PSKMetadata as PSKMetadata
from .site_location import SiteLocation as SiteLocation
-from .colo_name_param import ColoNameParam as ColoNameParam
from .site_list_params import SiteListParams as SiteListParams
-from .colo_region_param import ColoRegionParam as ColoRegionParam
from .health_check_rate import HealthCheckRate as HealthCheckRate
from .health_check_type import HealthCheckType as HealthCheckType
from .health_check_param import HealthCheckParam as HealthCheckParam
-from .route_empty_params import RouteEmptyParams as RouteEmptyParams
from .route_get_response import RouteGetResponse as RouteGetResponse
from .site_create_params import SiteCreateParams as SiteCreateParams
-from .site_delete_params import SiteDeleteParams as SiteDeleteParams
from .site_update_params import SiteUpdateParams as SiteUpdateParams
from .route_create_params import RouteCreateParams as RouteCreateParams
-from .route_delete_params import RouteDeleteParams as RouteDeleteParams
from .route_list_response import RouteListResponse as RouteListResponse
from .route_update_params import RouteUpdateParams as RouteUpdateParams
from .site_location_param import SiteLocationParam as SiteLocationParam
@@ -32,7 +25,6 @@
from .route_update_response import RouteUpdateResponse as RouteUpdateResponse
from .gre_tunnel_get_response import GRETunnelGetResponse as GRETunnelGetResponse
from .gre_tunnel_create_params import GRETunnelCreateParams as GRETunnelCreateParams
-from .gre_tunnel_delete_params import GRETunnelDeleteParams as GRETunnelDeleteParams
from .gre_tunnel_list_response import GRETunnelListResponse as GRETunnelListResponse
from .gre_tunnel_update_params import GRETunnelUpdateParams as GRETunnelUpdateParams
from .ipsec_tunnel_get_response import IPSECTunnelGetResponse as IPSECTunnelGetResponse
@@ -40,7 +32,6 @@
from .gre_tunnel_delete_response import GRETunnelDeleteResponse as GRETunnelDeleteResponse
from .gre_tunnel_update_response import GRETunnelUpdateResponse as GRETunnelUpdateResponse
from .ipsec_tunnel_create_params import IPSECTunnelCreateParams as IPSECTunnelCreateParams
-from .ipsec_tunnel_delete_params import IPSECTunnelDeleteParams as IPSECTunnelDeleteParams
from .ipsec_tunnel_list_response import IPSECTunnelListResponse as IPSECTunnelListResponse
from .ipsec_tunnel_update_params import IPSECTunnelUpdateParams as IPSECTunnelUpdateParams
from .cf_interconnect_get_response import CfInterconnectGetResponse as CfInterconnectGetResponse
diff --git a/src/cloudflare/types/magic_transit/colo_name.py b/src/cloudflare/types/magic_transit/colo_name.py
deleted file mode 100644
index 00c58aa3340..00000000000
--- a/src/cloudflare/types/magic_transit/colo_name.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List
-
-__all__ = ["ColoName"]
-
-ColoName = List[str]
diff --git a/src/cloudflare/types/magic_transit/colo_name_param.py b/src/cloudflare/types/magic_transit/colo_name_param.py
deleted file mode 100644
index bb4fd54d9bb..00000000000
--- a/src/cloudflare/types/magic_transit/colo_name_param.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing import List
-
-__all__ = ["ColoNameParamItem"]
-
-ColoNameParamItem = str
-
-ColoNameParam = List[str]
diff --git a/src/cloudflare/types/magic_transit/colo_region.py b/src/cloudflare/types/magic_transit/colo_region.py
deleted file mode 100644
index 579dfbf7884..00000000000
--- a/src/cloudflare/types/magic_transit/colo_region.py
+++ /dev/null
@@ -1,7 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from typing import List
-
-__all__ = ["ColoRegion"]
-
-ColoRegion = List[str]
diff --git a/src/cloudflare/types/magic_transit/colo_region_param.py b/src/cloudflare/types/magic_transit/colo_region_param.py
deleted file mode 100644
index f5ea451dcbd..00000000000
--- a/src/cloudflare/types/magic_transit/colo_region_param.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing import List
-
-__all__ = ["ColoRegionParamItem"]
-
-ColoRegionParamItem = str
-
-ColoRegionParam = List[str]
diff --git a/src/cloudflare/types/magic_transit/gre_tunnel_delete_params.py b/src/cloudflare/types/magic_transit/gre_tunnel_delete_params.py
deleted file mode 100644
index c19713f18e3..00000000000
--- a/src/cloudflare/types/magic_transit/gre_tunnel_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["GRETunnelDeleteParams"]
-
-
-class GRETunnelDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/magic_transit/ipsec_tunnel_delete_params.py b/src/cloudflare/types/magic_transit/ipsec_tunnel_delete_params.py
deleted file mode 100644
index 4cf64bced31..00000000000
--- a/src/cloudflare/types/magic_transit/ipsec_tunnel_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["IPSECTunnelDeleteParams"]
-
-
-class IPSECTunnelDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/magic_transit/route_delete_params.py b/src/cloudflare/types/magic_transit/route_delete_params.py
deleted file mode 100644
index ae1f7e998a5..00000000000
--- a/src/cloudflare/types/magic_transit/route_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["RouteDeleteParams"]
-
-
-class RouteDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/magic_transit/route_empty_params.py b/src/cloudflare/types/magic_transit/route_empty_params.py
deleted file mode 100644
index 19aee9d0a1a..00000000000
--- a/src/cloudflare/types/magic_transit/route_empty_params.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing import Iterable
-from typing_extensions import Required, TypedDict
-
-__all__ = ["RouteEmptyParams", "Route"]
-
-
-class RouteEmptyParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- routes: Required[Iterable[Route]]
-
-
-class Route(TypedDict, total=False):
- pass
diff --git a/src/cloudflare/types/magic_transit/scope.py b/src/cloudflare/types/magic_transit/scope.py
index a5077ec70e5..a01bc5eb301 100644
--- a/src/cloudflare/types/magic_transit/scope.py
+++ b/src/cloudflare/types/magic_transit/scope.py
@@ -1,17 +1,15 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-from typing import Optional
+from typing import List, Optional
from ..._models import BaseModel
-from .colo_name import ColoName
-from .colo_region import ColoRegion
__all__ = ["Scope"]
class Scope(BaseModel):
- colo_names: Optional[ColoName] = None
+ colo_names: Optional[List[str]] = None
"""List of colo names for the ECMP scope."""
- colo_regions: Optional[ColoRegion] = None
+ colo_regions: Optional[List[str]] = None
"""List of colo regions for the ECMP scope."""
diff --git a/src/cloudflare/types/magic_transit/scope_param.py b/src/cloudflare/types/magic_transit/scope_param.py
index f65fb559de4..95df559e364 100644
--- a/src/cloudflare/types/magic_transit/scope_param.py
+++ b/src/cloudflare/types/magic_transit/scope_param.py
@@ -2,17 +2,15 @@
from __future__ import annotations
+from typing import List
from typing_extensions import TypedDict
-from .colo_name_param import ColoNameParam
-from .colo_region_param import ColoRegionParam
-
__all__ = ["ScopeParam"]
class ScopeParam(TypedDict, total=False):
- colo_names: ColoNameParam
+ colo_names: List[str]
"""List of colo names for the ECMP scope."""
- colo_regions: ColoRegionParam
+ colo_regions: List[str]
"""List of colo regions for the ECMP scope."""
diff --git a/src/cloudflare/types/magic_transit/site_delete_params.py b/src/cloudflare/types/magic_transit/site_delete_params.py
deleted file mode 100644
index fdd180f40b4..00000000000
--- a/src/cloudflare/types/magic_transit/site_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["SiteDeleteParams"]
-
-
-class SiteDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/magic_transit/sites/__init__.py b/src/cloudflare/types/magic_transit/sites/__init__.py
index 1b2ed37966f..5f61827b3cb 100644
--- a/src/cloudflare/types/magic_transit/sites/__init__.py
+++ b/src/cloudflare/types/magic_transit/sites/__init__.py
@@ -16,14 +16,11 @@
from .dhcp_relay_param import DHCPRelayParam as DHCPRelayParam
from .acl_configuration import ACLConfiguration as ACLConfiguration
from .acl_create_params import ACLCreateParams as ACLCreateParams
-from .acl_delete_params import ACLDeleteParams as ACLDeleteParams
from .acl_update_params import ACLUpdateParams as ACLUpdateParams
from .dhcp_server_param import DHCPServerParam as DHCPServerParam
from .lan_create_params import LANCreateParams as LANCreateParams
-from .lan_delete_params import LANDeleteParams as LANDeleteParams
from .lan_update_params import LANUpdateParams as LANUpdateParams
from .wan_create_params import WANCreateParams as WANCreateParams
-from .wan_delete_params import WANDeleteParams as WANDeleteParams
from .wan_update_params import WANUpdateParams as WANUpdateParams
from .lan_create_response import LANCreateResponse as LANCreateResponse
from .routed_subnet_param import RoutedSubnetParam as RoutedSubnetParam
diff --git a/src/cloudflare/types/magic_transit/sites/acl_delete_params.py b/src/cloudflare/types/magic_transit/sites/acl_delete_params.py
deleted file mode 100644
index 12a1368d560..00000000000
--- a/src/cloudflare/types/magic_transit/sites/acl_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["ACLDeleteParams"]
-
-
-class ACLDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- site_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/magic_transit/sites/lan_delete_params.py b/src/cloudflare/types/magic_transit/sites/lan_delete_params.py
deleted file mode 100644
index 4e9d6b5c1e4..00000000000
--- a/src/cloudflare/types/magic_transit/sites/lan_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["LANDeleteParams"]
-
-
-class LANDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- site_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/magic_transit/sites/wan_delete_params.py b/src/cloudflare/types/magic_transit/sites/wan_delete_params.py
deleted file mode 100644
index 7e72aa27593..00000000000
--- a/src/cloudflare/types/magic_transit/sites/wan_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["WANDeleteParams"]
-
-
-class WANDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- site_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/memberships/__init__.py b/src/cloudflare/types/memberships/__init__.py
index 995d1aee7dd..0ec3d2b63a9 100644
--- a/src/cloudflare/types/memberships/__init__.py
+++ b/src/cloudflare/types/memberships/__init__.py
@@ -5,7 +5,6 @@
from .membership import Membership as Membership
from .membership_list_params import MembershipListParams as MembershipListParams
from .membership_get_response import MembershipGetResponse as MembershipGetResponse
-from .membership_delete_params import MembershipDeleteParams as MembershipDeleteParams
from .membership_update_params import MembershipUpdateParams as MembershipUpdateParams
from .membership_delete_response import MembershipDeleteResponse as MembershipDeleteResponse
from .membership_update_response import MembershipUpdateResponse as MembershipUpdateResponse
diff --git a/src/cloudflare/types/memberships/membership_delete_params.py b/src/cloudflare/types/memberships/membership_delete_params.py
deleted file mode 100644
index 11cdd19dc14..00000000000
--- a/src/cloudflare/types/memberships/membership_delete_params.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["MembershipDeleteParams"]
-
-
-class MembershipDeleteParams(TypedDict, total=False):
- body: Required[object]
diff --git a/src/cloudflare/types/mtls_certificates/__init__.py b/src/cloudflare/types/mtls_certificates/__init__.py
index b359b0145f6..e7b6588986e 100644
--- a/src/cloudflare/types/mtls_certificates/__init__.py
+++ b/src/cloudflare/types/mtls_certificates/__init__.py
@@ -6,5 +6,4 @@
from .association_get_response import AssociationGetResponse as AssociationGetResponse
from .certificate_asssociation import CertificateAsssociation as CertificateAsssociation
from .mtls_certificate_create_params import MTLSCertificateCreateParams as MTLSCertificateCreateParams
-from .mtls_certificate_delete_params import MTLSCertificateDeleteParams as MTLSCertificateDeleteParams
from .mtls_certificate_create_response import MTLSCertificateCreateResponse as MTLSCertificateCreateResponse
diff --git a/src/cloudflare/types/mtls_certificates/mtls_certificate_delete_params.py b/src/cloudflare/types/mtls_certificates/mtls_certificate_delete_params.py
deleted file mode 100644
index 78ad213cdfd..00000000000
--- a/src/cloudflare/types/mtls_certificates/mtls_certificate_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["MTLSCertificateDeleteParams"]
-
-
-class MTLSCertificateDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/origin_ca_certificates/__init__.py b/src/cloudflare/types/origin_ca_certificates/__init__.py
index 32cf6287ee3..7dda699e7c9 100644
--- a/src/cloudflare/types/origin_ca_certificates/__init__.py
+++ b/src/cloudflare/types/origin_ca_certificates/__init__.py
@@ -6,7 +6,6 @@
from .origin_ca_certificate_list_params import OriginCACertificateListParams as OriginCACertificateListParams
from .origin_ca_certificate_get_response import OriginCACertificateGetResponse as OriginCACertificateGetResponse
from .origin_ca_certificate_create_params import OriginCACertificateCreateParams as OriginCACertificateCreateParams
-from .origin_ca_certificate_delete_params import OriginCACertificateDeleteParams as OriginCACertificateDeleteParams
from .origin_ca_certificate_create_response import (
OriginCACertificateCreateResponse as OriginCACertificateCreateResponse,
)
diff --git a/src/cloudflare/types/origin_ca_certificates/origin_ca_certificate_delete_params.py b/src/cloudflare/types/origin_ca_certificates/origin_ca_certificate_delete_params.py
deleted file mode 100644
index c7e9bfc0425..00000000000
--- a/src/cloudflare/types/origin_ca_certificates/origin_ca_certificate_delete_params.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["OriginCACertificateDeleteParams"]
-
-
-class OriginCACertificateDeleteParams(TypedDict, total=False):
- body: Required[object]
diff --git a/src/cloudflare/types/origin_tls_client_auth/__init__.py b/src/cloudflare/types/origin_tls_client_auth/__init__.py
index eba7c27e23a..685af0e2c2d 100644
--- a/src/cloudflare/types/origin_tls_client_auth/__init__.py
+++ b/src/cloudflare/types/origin_tls_client_auth/__init__.py
@@ -11,7 +11,6 @@
from .zone_authenticated_origin_pull import ZoneAuthenticatedOriginPull as ZoneAuthenticatedOriginPull
from .origin_tls_client_auth_get_response import OriginTLSClientAuthGetResponse as OriginTLSClientAuthGetResponse
from .origin_tls_client_auth_create_params import OriginTLSClientAuthCreateParams as OriginTLSClientAuthCreateParams
-from .origin_tls_client_auth_delete_params import OriginTLSClientAuthDeleteParams as OriginTLSClientAuthDeleteParams
from .origin_tls_client_auth_create_response import (
OriginTLSClientAuthCreateResponse as OriginTLSClientAuthCreateResponse,
)
diff --git a/src/cloudflare/types/origin_tls_client_auth/hostnames/__init__.py b/src/cloudflare/types/origin_tls_client_auth/hostnames/__init__.py
index cc3675a505d..bdf506a1e72 100644
--- a/src/cloudflare/types/origin_tls_client_auth/hostnames/__init__.py
+++ b/src/cloudflare/types/origin_tls_client_auth/hostnames/__init__.py
@@ -4,6 +4,5 @@
from .certificate_get_response import CertificateGetResponse as CertificateGetResponse
from .certificate_create_params import CertificateCreateParams as CertificateCreateParams
-from .certificate_delete_params import CertificateDeleteParams as CertificateDeleteParams
from .certificate_create_response import CertificateCreateResponse as CertificateCreateResponse
from .certificate_delete_response import CertificateDeleteResponse as CertificateDeleteResponse
diff --git a/src/cloudflare/types/origin_tls_client_auth/hostnames/certificate_delete_params.py b/src/cloudflare/types/origin_tls_client_auth/hostnames/certificate_delete_params.py
deleted file mode 100644
index 7d7163aa220..00000000000
--- a/src/cloudflare/types/origin_tls_client_auth/hostnames/certificate_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["CertificateDeleteParams"]
-
-
-class CertificateDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/origin_tls_client_auth/origin_tls_client_auth_delete_params.py b/src/cloudflare/types/origin_tls_client_auth/origin_tls_client_auth_delete_params.py
deleted file mode 100644
index 6e0ad357ff5..00000000000
--- a/src/cloudflare/types/origin_tls_client_auth/origin_tls_client_auth_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["OriginTLSClientAuthDeleteParams"]
-
-
-class OriginTLSClientAuthDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/pagerules/__init__.py b/src/cloudflare/types/pagerules/__init__.py
index 50e8f79dd7e..02d46c7b4d4 100644
--- a/src/cloudflare/types/pagerules/__init__.py
+++ b/src/cloudflare/types/pagerules/__init__.py
@@ -12,7 +12,6 @@
from .pagerule_get_response import PageruleGetResponse as PageruleGetResponse
from .setting_list_response import SettingListResponse as SettingListResponse
from .pagerule_create_params import PageruleCreateParams as PageruleCreateParams
-from .pagerule_delete_params import PageruleDeleteParams as PageruleDeleteParams
from .pagerule_edit_response import PageruleEditResponse as PageruleEditResponse
from .pagerule_list_response import PageruleListResponse as PageruleListResponse
from .pagerule_update_params import PageruleUpdateParams as PageruleUpdateParams
diff --git a/src/cloudflare/types/pagerules/pagerule_delete_params.py b/src/cloudflare/types/pagerules/pagerule_delete_params.py
deleted file mode 100644
index 5b3e48c4f3e..00000000000
--- a/src/cloudflare/types/pagerules/pagerule_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["PageruleDeleteParams"]
-
-
-class PageruleDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/pages/__init__.py b/src/cloudflare/types/pages/__init__.py
index bff15c5407c..e28b1070dd5 100644
--- a/src/cloudflare/types/pages/__init__.py
+++ b/src/cloudflare/types/pages/__init__.py
@@ -9,6 +9,5 @@
from .deployment_param import DeploymentParam as DeploymentParam
from .project_edit_params import ProjectEditParams as ProjectEditParams
from .project_create_params import ProjectCreateParams as ProjectCreateParams
-from .project_delete_params import ProjectDeleteParams as ProjectDeleteParams
from .project_edit_response import ProjectEditResponse as ProjectEditResponse
from .project_create_response import ProjectCreateResponse as ProjectCreateResponse
diff --git a/src/cloudflare/types/pages/project_delete_params.py b/src/cloudflare/types/pages/project_delete_params.py
deleted file mode 100644
index 44dbbf9b81b..00000000000
--- a/src/cloudflare/types/pages/project_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["ProjectDeleteParams"]
-
-
-class ProjectDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/pages/projects/__init__.py b/src/cloudflare/types/pages/projects/__init__.py
index 366cfd847a0..d342db3a2e9 100644
--- a/src/cloudflare/types/pages/projects/__init__.py
+++ b/src/cloudflare/types/pages/projects/__init__.py
@@ -5,11 +5,9 @@
from .domain_edit_params import DomainEditParams as DomainEditParams
from .domain_get_response import DomainGetResponse as DomainGetResponse
from .domain_create_params import DomainCreateParams as DomainCreateParams
-from .domain_delete_params import DomainDeleteParams as DomainDeleteParams
from .domain_edit_response import DomainEditResponse as DomainEditResponse
from .deployment_list_params import DeploymentListParams as DeploymentListParams
from .domain_create_response import DomainCreateResponse as DomainCreateResponse
from .deployment_retry_params import DeploymentRetryParams as DeploymentRetryParams
from .deployment_create_params import DeploymentCreateParams as DeploymentCreateParams
-from .deployment_delete_params import DeploymentDeleteParams as DeploymentDeleteParams
from .deployment_rollback_params import DeploymentRollbackParams as DeploymentRollbackParams
diff --git a/src/cloudflare/types/pages/projects/deployment_delete_params.py b/src/cloudflare/types/pages/projects/deployment_delete_params.py
deleted file mode 100644
index 35a65c5a3c5..00000000000
--- a/src/cloudflare/types/pages/projects/deployment_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["DeploymentDeleteParams"]
-
-
-class DeploymentDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- project_name: Required[str]
- """Name of the project."""
-
- body: Required[object]
diff --git a/src/cloudflare/types/pages/projects/domain_delete_params.py b/src/cloudflare/types/pages/projects/domain_delete_params.py
deleted file mode 100644
index efd44ea1f18..00000000000
--- a/src/cloudflare/types/pages/projects/domain_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["DomainDeleteParams"]
-
-
-class DomainDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- project_name: Required[str]
- """Name of the project."""
-
- body: Required[object]
diff --git a/src/cloudflare/types/queues/__init__.py b/src/cloudflare/types/queues/__init__.py
index 8546525267f..7dd8b118bbb 100644
--- a/src/cloudflare/types/queues/__init__.py
+++ b/src/cloudflare/types/queues/__init__.py
@@ -9,14 +9,12 @@
from .message_ack_params import MessageAckParams as MessageAckParams
from .message_pull_params import MessagePullParams as MessagePullParams
from .queue_create_params import QueueCreateParams as QueueCreateParams
-from .queue_delete_params import QueueDeleteParams as QueueDeleteParams
from .queue_update_params import QueueUpdateParams as QueueUpdateParams
from .message_ack_response import MessageAckResponse as MessageAckResponse
from .consumer_get_response import ConsumerGetResponse as ConsumerGetResponse
from .message_pull_response import MessagePullResponse as MessagePullResponse
from .queue_delete_response import QueueDeleteResponse as QueueDeleteResponse
from .consumer_create_params import ConsumerCreateParams as ConsumerCreateParams
-from .consumer_delete_params import ConsumerDeleteParams as ConsumerDeleteParams
from .consumer_update_params import ConsumerUpdateParams as ConsumerUpdateParams
from .consumer_create_response import ConsumerCreateResponse as ConsumerCreateResponse
from .consumer_delete_response import ConsumerDeleteResponse as ConsumerDeleteResponse
diff --git a/src/cloudflare/types/queues/consumer_delete_params.py b/src/cloudflare/types/queues/consumer_delete_params.py
deleted file mode 100644
index 86cb9120b32..00000000000
--- a/src/cloudflare/types/queues/consumer_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["ConsumerDeleteParams"]
-
-
-class ConsumerDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- queue_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/queues/queue_delete_params.py b/src/cloudflare/types/queues/queue_delete_params.py
deleted file mode 100644
index 0130ee1660d..00000000000
--- a/src/cloudflare/types/queues/queue_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["QueueDeleteParams"]
-
-
-class QueueDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/rate_limits/__init__.py b/src/cloudflare/types/rate_limits/__init__.py
index 95fc15ad73e..ac12490e28a 100644
--- a/src/cloudflare/types/rate_limits/__init__.py
+++ b/src/cloudflare/types/rate_limits/__init__.py
@@ -9,7 +9,6 @@
from .rate_limit_list_params import RateLimitListParams as RateLimitListParams
from .rate_limit_get_response import RateLimitGetResponse as RateLimitGetResponse
from .rate_limit_create_params import RateLimitCreateParams as RateLimitCreateParams
-from .rate_limit_delete_params import RateLimitDeleteParams as RateLimitDeleteParams
from .rate_limit_edit_response import RateLimitEditResponse as RateLimitEditResponse
from .rate_limit_create_response import RateLimitCreateResponse as RateLimitCreateResponse
from .rate_limit_delete_response import RateLimitDeleteResponse as RateLimitDeleteResponse
diff --git a/src/cloudflare/types/rate_limits/rate_limit_delete_params.py b/src/cloudflare/types/rate_limits/rate_limit_delete_params.py
deleted file mode 100644
index 90fbe783836..00000000000
--- a/src/cloudflare/types/rate_limits/rate_limit_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["RateLimitDeleteParams"]
-
-
-class RateLimitDeleteParams(TypedDict, total=False):
- zone_identifier: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/rules/__init__.py b/src/cloudflare/types/rules/__init__.py
index 24f42f87715..f1b0f21a485 100644
--- a/src/cloudflare/types/rules/__init__.py
+++ b/src/cloudflare/types/rules/__init__.py
@@ -8,6 +8,5 @@
from .hostname_param import HostnameParam as HostnameParam
from .redirect_param import RedirectParam as RedirectParam
from .list_create_params import ListCreateParams as ListCreateParams
-from .list_delete_params import ListDeleteParams as ListDeleteParams
from .list_update_params import ListUpdateParams as ListUpdateParams
from .list_delete_response import ListDeleteResponse as ListDeleteResponse
diff --git a/src/cloudflare/types/rules/list_delete_params.py b/src/cloudflare/types/rules/list_delete_params.py
deleted file mode 100644
index dd3970f9614..00000000000
--- a/src/cloudflare/types/rules/list_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["ListDeleteParams"]
-
-
-class ListDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/rules/lists/__init__.py b/src/cloudflare/types/rules/lists/__init__.py
index 0124438ea28..00311bac0d6 100644
--- a/src/cloudflare/types/rules/lists/__init__.py
+++ b/src/cloudflare/types/rules/lists/__init__.py
@@ -7,7 +7,6 @@
from .operation_status import OperationStatus as OperationStatus
from .item_get_response import ItemGetResponse as ItemGetResponse
from .item_create_params import ItemCreateParams as ItemCreateParams
-from .item_delete_params import ItemDeleteParams as ItemDeleteParams
from .item_update_params import ItemUpdateParams as ItemUpdateParams
from .item_create_response import ItemCreateResponse as ItemCreateResponse
from .item_delete_response import ItemDeleteResponse as ItemDeleteResponse
diff --git a/src/cloudflare/types/rules/lists/item_delete_params.py b/src/cloudflare/types/rules/lists/item_delete_params.py
deleted file mode 100644
index 8c164909719..00000000000
--- a/src/cloudflare/types/rules/lists/item_delete_params.py
+++ /dev/null
@@ -1,20 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing import Iterable
-from typing_extensions import Required, TypedDict
-
-__all__ = ["ItemDeleteParams", "Item"]
-
-
-class ItemDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- items: Iterable[Item]
-
-
-class Item(TypedDict, total=False):
- id: str
- """The unique ID of the item in the List."""
diff --git a/src/cloudflare/types/secondary_dns/__init__.py b/src/cloudflare/types/secondary_dns/__init__.py
index 72716c6630b..38aa6d40ad7 100644
--- a/src/cloudflare/types/secondary_dns/__init__.py
+++ b/src/cloudflare/types/secondary_dns/__init__.py
@@ -10,13 +10,10 @@
from .outgoing_status import OutgoingStatus as OutgoingStatus
from .disable_transfer import DisableTransfer as DisableTransfer
from .acl_create_params import ACLCreateParams as ACLCreateParams
-from .acl_delete_params import ACLDeleteParams as ACLDeleteParams
from .acl_update_params import ACLUpdateParams as ACLUpdateParams
from .peer_create_params import PeerCreateParams as PeerCreateParams
-from .peer_delete_params import PeerDeleteParams as PeerDeleteParams
from .peer_update_params import PeerUpdateParams as PeerUpdateParams
from .tsig_create_params import TSIGCreateParams as TSIGCreateParams
-from .tsig_delete_params import TSIGDeleteParams as TSIGDeleteParams
from .tsig_update_params import TSIGUpdateParams as TSIGUpdateParams
from .acl_delete_response import ACLDeleteResponse as ACLDeleteResponse
from .peer_delete_response import PeerDeleteResponse as PeerDeleteResponse
@@ -24,10 +21,8 @@
from .incoming_get_response import IncomingGetResponse as IncomingGetResponse
from .outgoing_get_response import OutgoingGetResponse as OutgoingGetResponse
from .incoming_create_params import IncomingCreateParams as IncomingCreateParams
-from .incoming_delete_params import IncomingDeleteParams as IncomingDeleteParams
from .incoming_update_params import IncomingUpdateParams as IncomingUpdateParams
from .outgoing_create_params import OutgoingCreateParams as OutgoingCreateParams
-from .outgoing_delete_params import OutgoingDeleteParams as OutgoingDeleteParams
from .outgoing_enable_params import OutgoingEnableParams as OutgoingEnableParams
from .outgoing_update_params import OutgoingUpdateParams as OutgoingUpdateParams
from .outgoing_disable_params import OutgoingDisableParams as OutgoingDisableParams
diff --git a/src/cloudflare/types/secondary_dns/acl_delete_params.py b/src/cloudflare/types/secondary_dns/acl_delete_params.py
deleted file mode 100644
index 16de02d2864..00000000000
--- a/src/cloudflare/types/secondary_dns/acl_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["ACLDeleteParams"]
-
-
-class ACLDeleteParams(TypedDict, total=False):
- account_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/secondary_dns/incoming_delete_params.py b/src/cloudflare/types/secondary_dns/incoming_delete_params.py
deleted file mode 100644
index f38fedf881d..00000000000
--- a/src/cloudflare/types/secondary_dns/incoming_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["IncomingDeleteParams"]
-
-
-class IncomingDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/secondary_dns/outgoing_delete_params.py b/src/cloudflare/types/secondary_dns/outgoing_delete_params.py
deleted file mode 100644
index 68387b9fa08..00000000000
--- a/src/cloudflare/types/secondary_dns/outgoing_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["OutgoingDeleteParams"]
-
-
-class OutgoingDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/secondary_dns/peer_delete_params.py b/src/cloudflare/types/secondary_dns/peer_delete_params.py
deleted file mode 100644
index 86d9970947e..00000000000
--- a/src/cloudflare/types/secondary_dns/peer_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["PeerDeleteParams"]
-
-
-class PeerDeleteParams(TypedDict, total=False):
- account_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/secondary_dns/tsig_delete_params.py b/src/cloudflare/types/secondary_dns/tsig_delete_params.py
deleted file mode 100644
index 1c2ab15aefa..00000000000
--- a/src/cloudflare/types/secondary_dns/tsig_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["TSIGDeleteParams"]
-
-
-class TSIGDeleteParams(TypedDict, total=False):
- account_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/spectrum/__init__.py b/src/cloudflare/types/spectrum/__init__.py
index a0c9f08e48a..3d53e86df56 100644
--- a/src/cloudflare/types/spectrum/__init__.py
+++ b/src/cloudflare/types/spectrum/__init__.py
@@ -12,7 +12,6 @@
from .app_get_response import AppGetResponse as AppGetResponse
from .origin_dns_param import OriginDNSParam as OriginDNSParam
from .app_create_params import AppCreateParams as AppCreateParams
-from .app_delete_params import AppDeleteParams as AppDeleteParams
from .app_update_params import AppUpdateParams as AppUpdateParams
from .origin_port_param import OriginPortParam as OriginPortParam
from .app_create_response import AppCreateResponse as AppCreateResponse
diff --git a/src/cloudflare/types/spectrum/app_delete_params.py b/src/cloudflare/types/spectrum/app_delete_params.py
deleted file mode 100644
index 9f31b197105..00000000000
--- a/src/cloudflare/types/spectrum/app_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["AppDeleteParams"]
-
-
-class AppDeleteParams(TypedDict, total=False):
- zone: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/ssl/__init__.py b/src/cloudflare/types/ssl/__init__.py
index 6fce3a9b641..eb3b7b54821 100644
--- a/src/cloudflare/types/ssl/__init__.py
+++ b/src/cloudflare/types/ssl/__init__.py
@@ -14,6 +14,5 @@
from .certificate_pack_edit_params import CertificatePackEditParams as CertificatePackEditParams
from .certificate_pack_list_params import CertificatePackListParams as CertificatePackListParams
from .certificate_pack_get_response import CertificatePackGetResponse as CertificatePackGetResponse
-from .certificate_pack_delete_params import CertificatePackDeleteParams as CertificatePackDeleteParams
from .certificate_pack_edit_response import CertificatePackEditResponse as CertificatePackEditResponse
from .certificate_pack_delete_response import CertificatePackDeleteResponse as CertificatePackDeleteResponse
diff --git a/src/cloudflare/types/ssl/certificate_pack_delete_params.py b/src/cloudflare/types/ssl/certificate_pack_delete_params.py
deleted file mode 100644
index ccd358d487f..00000000000
--- a/src/cloudflare/types/ssl/certificate_pack_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["CertificatePackDeleteParams"]
-
-
-class CertificatePackDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/stream/__init__.py b/src/cloudflare/types/stream/__init__.py
index f9400109986..d2cc2a2aed1 100644
--- a/src/cloudflare/types/stream/__init__.py
+++ b/src/cloudflare/types/stream/__init__.py
@@ -12,7 +12,6 @@
from .allowed_origins import AllowedOrigins as AllowedOrigins
from .key_get_response import KeyGetResponse as KeyGetResponse
from .key_create_params import KeyCreateParams as KeyCreateParams
-from .key_delete_params import KeyDeleteParams as KeyDeleteParams
from .clip_create_params import ClipCreateParams as ClipCreateParams
from .copy_create_params import CopyCreateParams as CopyCreateParams
from .embed_get_response import EmbedGetResponse as EmbedGetResponse
@@ -21,25 +20,21 @@
from .token_create_params import TokenCreateParams as TokenCreateParams
from .caption_get_response import CaptionGetResponse as CaptionGetResponse
from .stream_create_params import StreamCreateParams as StreamCreateParams
-from .stream_delete_params import StreamDeleteParams as StreamDeleteParams
from .webhook_get_response import WebhookGetResponse as WebhookGetResponse
from .download_get_response import DownloadGetResponse as DownloadGetResponse
from .token_create_response import TokenCreateResponse as TokenCreateResponse
-from .webhook_delete_params import WebhookDeleteParams as WebhookDeleteParams
from .webhook_update_params import WebhookUpdateParams as WebhookUpdateParams
from .download_create_params import DownloadCreateParams as DownloadCreateParams
from .live_input_list_params import LiveInputListParams as LiveInputListParams
from .audio_track_copy_params import AudioTrackCopyParams as AudioTrackCopyParams
from .audio_track_edit_params import AudioTrackEditParams as AudioTrackEditParams
from .watermark_create_params import WatermarkCreateParams as WatermarkCreateParams
-from .watermark_delete_params import WatermarkDeleteParams as WatermarkDeleteParams
from .webhook_delete_response import WebhookDeleteResponse as WebhookDeleteResponse
from .webhook_update_response import WebhookUpdateResponse as WebhookUpdateResponse
from .audio_track_get_response import AudioTrackGetResponse as AudioTrackGetResponse
from .download_create_response import DownloadCreateResponse as DownloadCreateResponse
from .download_delete_response import DownloadDeleteResponse as DownloadDeleteResponse
from .live_input_create_params import LiveInputCreateParams as LiveInputCreateParams
-from .live_input_delete_params import LiveInputDeleteParams as LiveInputDeleteParams
from .live_input_list_response import LiveInputListResponse as LiveInputListResponse
from .live_input_update_params import LiveInputUpdateParams as LiveInputUpdateParams
from .watermark_delete_response import WatermarkDeleteResponse as WatermarkDeleteResponse
diff --git a/src/cloudflare/types/stream/captions/__init__.py b/src/cloudflare/types/stream/captions/__init__.py
index f34bcc36978..412e8beb9f9 100644
--- a/src/cloudflare/types/stream/captions/__init__.py
+++ b/src/cloudflare/types/stream/captions/__init__.py
@@ -2,6 +2,5 @@
from __future__ import annotations
-from .language_delete_params import LanguageDeleteParams as LanguageDeleteParams
from .language_update_params import LanguageUpdateParams as LanguageUpdateParams
from .language_delete_response import LanguageDeleteResponse as LanguageDeleteResponse
diff --git a/src/cloudflare/types/stream/captions/language_delete_params.py b/src/cloudflare/types/stream/captions/language_delete_params.py
deleted file mode 100644
index 348f01f68e0..00000000000
--- a/src/cloudflare/types/stream/captions/language_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["LanguageDeleteParams"]
-
-
-class LanguageDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- identifier: Required[str]
- """A Cloudflare-generated unique identifier for a media item."""
-
- body: Required[object]
diff --git a/src/cloudflare/types/stream/key_delete_params.py b/src/cloudflare/types/stream/key_delete_params.py
deleted file mode 100644
index d4e21761a90..00000000000
--- a/src/cloudflare/types/stream/key_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["KeyDeleteParams"]
-
-
-class KeyDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/stream/live_input_delete_params.py b/src/cloudflare/types/stream/live_input_delete_params.py
deleted file mode 100644
index 7677bd9f9ed..00000000000
--- a/src/cloudflare/types/stream/live_input_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["LiveInputDeleteParams"]
-
-
-class LiveInputDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/stream/live_inputs/__init__.py b/src/cloudflare/types/stream/live_inputs/__init__.py
index e8063b8b859..95307755244 100644
--- a/src/cloudflare/types/stream/live_inputs/__init__.py
+++ b/src/cloudflare/types/stream/live_inputs/__init__.py
@@ -4,5 +4,4 @@
from .output import Output as Output
from .output_create_params import OutputCreateParams as OutputCreateParams
-from .output_delete_params import OutputDeleteParams as OutputDeleteParams
from .output_update_params import OutputUpdateParams as OutputUpdateParams
diff --git a/src/cloudflare/types/stream/live_inputs/output_delete_params.py b/src/cloudflare/types/stream/live_inputs/output_delete_params.py
deleted file mode 100644
index 83c119db571..00000000000
--- a/src/cloudflare/types/stream/live_inputs/output_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["OutputDeleteParams"]
-
-
-class OutputDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- live_input_identifier: Required[str]
- """A unique identifier for a live input."""
-
- body: Required[object]
diff --git a/src/cloudflare/types/stream/stream_delete_params.py b/src/cloudflare/types/stream/stream_delete_params.py
deleted file mode 100644
index dd5ef8cbb5d..00000000000
--- a/src/cloudflare/types/stream/stream_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["StreamDeleteParams"]
-
-
-class StreamDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """The account identifier tag."""
-
- body: Required[object]
diff --git a/src/cloudflare/types/stream/watermark_delete_params.py b/src/cloudflare/types/stream/watermark_delete_params.py
deleted file mode 100644
index 5fc8a672ea1..00000000000
--- a/src/cloudflare/types/stream/watermark_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["WatermarkDeleteParams"]
-
-
-class WatermarkDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """The account identifier tag."""
-
- body: Required[object]
diff --git a/src/cloudflare/types/stream/webhook_delete_params.py b/src/cloudflare/types/stream/webhook_delete_params.py
deleted file mode 100644
index 63b392c9146..00000000000
--- a/src/cloudflare/types/stream/webhook_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["WebhookDeleteParams"]
-
-
-class WebhookDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """The account identifier tag."""
-
- body: Required[object]
diff --git a/src/cloudflare/types/subscriptions/__init__.py b/src/cloudflare/types/subscriptions/__init__.py
index 662a2dae32c..82a9f1efdb6 100644
--- a/src/cloudflare/types/subscriptions/__init__.py
+++ b/src/cloudflare/types/subscriptions/__init__.py
@@ -4,7 +4,6 @@
from .subscription_get_response import SubscriptionGetResponse as SubscriptionGetResponse
from .subscription_create_params import SubscriptionCreateParams as SubscriptionCreateParams
-from .subscription_delete_params import SubscriptionDeleteParams as SubscriptionDeleteParams
from .subscription_update_params import SubscriptionUpdateParams as SubscriptionUpdateParams
from .subscription_create_response import SubscriptionCreateResponse as SubscriptionCreateResponse
from .subscription_delete_response import SubscriptionDeleteResponse as SubscriptionDeleteResponse
diff --git a/src/cloudflare/types/subscriptions/subscription_delete_params.py b/src/cloudflare/types/subscriptions/subscription_delete_params.py
deleted file mode 100644
index 9fb12eee32c..00000000000
--- a/src/cloudflare/types/subscriptions/subscription_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["SubscriptionDeleteParams"]
-
-
-class SubscriptionDeleteParams(TypedDict, total=False):
- account_identifier: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/user/__init__.py b/src/cloudflare/types/user/__init__.py
index 507f51bede1..986ee04d241 100644
--- a/src/cloudflare/types/user/__init__.py
+++ b/src/cloudflare/types/user/__init__.py
@@ -18,7 +18,6 @@
from .user_edit_response import UserEditResponse as UserEditResponse
from .invite_get_response import InviteGetResponse as InviteGetResponse
from .token_create_params import TokenCreateParams as TokenCreateParams
-from .token_delete_params import TokenDeleteParams as TokenDeleteParams
from .token_update_params import TokenUpdateParams as TokenUpdateParams
from .invite_edit_response import InviteEditResponse as InviteEditResponse
from .audit_log_list_params import AuditLogListParams as AuditLogListParams
@@ -32,8 +31,6 @@
from .subscription_edit_params import SubscriptionEditParams as SubscriptionEditParams
from .organization_get_response import OrganizationGetResponse as OrganizationGetResponse
from .subscription_get_response import SubscriptionGetResponse as SubscriptionGetResponse
-from .organization_delete_params import OrganizationDeleteParams as OrganizationDeleteParams
-from .subscription_delete_params import SubscriptionDeleteParams as SubscriptionDeleteParams
from .subscription_edit_response import SubscriptionEditResponse as SubscriptionEditResponse
from .subscription_update_params import SubscriptionUpdateParams as SubscriptionUpdateParams
from .organization_delete_response import OrganizationDeleteResponse as OrganizationDeleteResponse
diff --git a/src/cloudflare/types/user/organization_delete_params.py b/src/cloudflare/types/user/organization_delete_params.py
deleted file mode 100644
index 0344f7e4d9a..00000000000
--- a/src/cloudflare/types/user/organization_delete_params.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["OrganizationDeleteParams"]
-
-
-class OrganizationDeleteParams(TypedDict, total=False):
- body: Required[object]
diff --git a/src/cloudflare/types/user/subscription_delete_params.py b/src/cloudflare/types/user/subscription_delete_params.py
deleted file mode 100644
index 1f60057b206..00000000000
--- a/src/cloudflare/types/user/subscription_delete_params.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["SubscriptionDeleteParams"]
-
-
-class SubscriptionDeleteParams(TypedDict, total=False):
- body: Required[object]
diff --git a/src/cloudflare/types/user/token_delete_params.py b/src/cloudflare/types/user/token_delete_params.py
deleted file mode 100644
index 6b9d4f8abef..00000000000
--- a/src/cloudflare/types/user/token_delete_params.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["TokenDeleteParams"]
-
-
-class TokenDeleteParams(TypedDict, total=False):
- body: Required[object]
diff --git a/src/cloudflare/types/waiting_rooms/__init__.py b/src/cloudflare/types/waiting_rooms/__init__.py
index 41fec119ae6..c6c280c212e 100644
--- a/src/cloudflare/types/waiting_rooms/__init__.py
+++ b/src/cloudflare/types/waiting_rooms/__init__.py
@@ -11,11 +11,9 @@
from .event_list_params import EventListParams as EventListParams
from .waiting_room_rule import WaitingRoomRule as WaitingRoomRule
from .rule_create_params import RuleCreateParams as RuleCreateParams
-from .rule_delete_params import RuleDeleteParams as RuleDeleteParams
from .rule_edit_response import RuleEditResponse as RuleEditResponse
from .rule_update_params import RuleUpdateParams as RuleUpdateParams
from .event_create_params import EventCreateParams as EventCreateParams
-from .event_delete_params import EventDeleteParams as EventDeleteParams
from .event_update_params import EventUpdateParams as EventUpdateParams
from .page_preview_params import PagePreviewParams as PagePreviewParams
from .setting_edit_params import SettingEditParams as SettingEditParams
@@ -34,6 +32,5 @@
from .waiting_room_edit_params import WaitingRoomEditParams as WaitingRoomEditParams
from .waiting_room_list_params import WaitingRoomListParams as WaitingRoomListParams
from .waiting_room_create_params import WaitingRoomCreateParams as WaitingRoomCreateParams
-from .waiting_room_delete_params import WaitingRoomDeleteParams as WaitingRoomDeleteParams
from .waiting_room_update_params import WaitingRoomUpdateParams as WaitingRoomUpdateParams
from .waiting_room_delete_response import WaitingRoomDeleteResponse as WaitingRoomDeleteResponse
diff --git a/src/cloudflare/types/waiting_rooms/event_delete_params.py b/src/cloudflare/types/waiting_rooms/event_delete_params.py
deleted file mode 100644
index 785cbedc49a..00000000000
--- a/src/cloudflare/types/waiting_rooms/event_delete_params.py
+++ /dev/null
@@ -1,16 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["EventDeleteParams"]
-
-
-class EventDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- waiting_room_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/waiting_rooms/rule_delete_params.py b/src/cloudflare/types/waiting_rooms/rule_delete_params.py
deleted file mode 100644
index 34c03b42387..00000000000
--- a/src/cloudflare/types/waiting_rooms/rule_delete_params.py
+++ /dev/null
@@ -1,16 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["RuleDeleteParams"]
-
-
-class RuleDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- waiting_room_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/waiting_rooms/waiting_room_delete_params.py b/src/cloudflare/types/waiting_rooms/waiting_room_delete_params.py
deleted file mode 100644
index 3db5c55c43d..00000000000
--- a/src/cloudflare/types/waiting_rooms/waiting_room_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["WaitingRoomDeleteParams"]
-
-
-class WaitingRoomDeleteParams(TypedDict, total=False):
- zone_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/warp_connector/__init__.py b/src/cloudflare/types/warp_connector/__init__.py
index 9fbbe448c87..26ce695dbce 100644
--- a/src/cloudflare/types/warp_connector/__init__.py
+++ b/src/cloudflare/types/warp_connector/__init__.py
@@ -6,7 +6,6 @@
from .warp_connector_list_params import WARPConnectorListParams as WARPConnectorListParams
from .warp_connector_get_response import WARPConnectorGetResponse as WARPConnectorGetResponse
from .warp_connector_create_params import WARPConnectorCreateParams as WARPConnectorCreateParams
-from .warp_connector_delete_params import WARPConnectorDeleteParams as WARPConnectorDeleteParams
from .warp_connector_edit_response import WARPConnectorEditResponse as WARPConnectorEditResponse
from .warp_connector_list_response import WARPConnectorListResponse as WARPConnectorListResponse
from .warp_connector_token_response import WARPConnectorTokenResponse as WARPConnectorTokenResponse
diff --git a/src/cloudflare/types/warp_connector/warp_connector_delete_params.py b/src/cloudflare/types/warp_connector/warp_connector_delete_params.py
deleted file mode 100644
index 27bd820f545..00000000000
--- a/src/cloudflare/types/warp_connector/warp_connector_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["WARPConnectorDeleteParams"]
-
-
-class WARPConnectorDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Cloudflare account ID"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/web3/__init__.py b/src/cloudflare/types/web3/__init__.py
index acea5c8b2a7..020395070ff 100644
--- a/src/cloudflare/types/web3/__init__.py
+++ b/src/cloudflare/types/web3/__init__.py
@@ -5,5 +5,4 @@
from .hostname import Hostname as Hostname
from .hostname_edit_params import HostnameEditParams as HostnameEditParams
from .hostname_create_params import HostnameCreateParams as HostnameCreateParams
-from .hostname_delete_params import HostnameDeleteParams as HostnameDeleteParams
from .hostname_delete_response import HostnameDeleteResponse as HostnameDeleteResponse
diff --git a/src/cloudflare/types/web3/hostname_delete_params.py b/src/cloudflare/types/web3/hostname_delete_params.py
deleted file mode 100644
index 2ca89e1cf67..00000000000
--- a/src/cloudflare/types/web3/hostname_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["HostnameDeleteParams"]
-
-
-class HostnameDeleteParams(TypedDict, total=False):
- zone_identifier: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/web3/hostnames/ipfs_universal_paths/content_lists/__init__.py b/src/cloudflare/types/web3/hostnames/ipfs_universal_paths/content_lists/__init__.py
index e28878b6b70..af858392ae3 100644
--- a/src/cloudflare/types/web3/hostnames/ipfs_universal_paths/content_lists/__init__.py
+++ b/src/cloudflare/types/web3/hostnames/ipfs_universal_paths/content_lists/__init__.py
@@ -4,7 +4,6 @@
from .entry_get_response import EntryGetResponse as EntryGetResponse
from .entry_create_params import EntryCreateParams as EntryCreateParams
-from .entry_delete_params import EntryDeleteParams as EntryDeleteParams
from .entry_list_response import EntryListResponse as EntryListResponse
from .entry_update_params import EntryUpdateParams as EntryUpdateParams
from .entry_create_response import EntryCreateResponse as EntryCreateResponse
diff --git a/src/cloudflare/types/web3/hostnames/ipfs_universal_paths/content_lists/entry_delete_params.py b/src/cloudflare/types/web3/hostnames/ipfs_universal_paths/content_lists/entry_delete_params.py
deleted file mode 100644
index 1a69c5ee227..00000000000
--- a/src/cloudflare/types/web3/hostnames/ipfs_universal_paths/content_lists/entry_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["EntryDeleteParams"]
-
-
-class EntryDeleteParams(TypedDict, total=False):
- zone_identifier: Required[str]
- """Identifier"""
-
- identifier: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/workers/__init__.py b/src/cloudflare/types/workers/__init__.py
index 0a1b7dabef1..6e066a47460 100644
--- a/src/cloudflare/types/workers/__init__.py
+++ b/src/cloudflare/types/workers/__init__.py
@@ -18,7 +18,6 @@
from .mtls_cert_binding import MTLSCERTBinding as MTLSCERTBinding
from .stepped_migration import SteppedMigration as SteppedMigration
from .domain_list_params import DomainListParams as DomainListParams
-from .domain_delete_params import DomainDeleteParams as DomainDeleteParams
from .domain_update_params import DomainUpdateParams as DomainUpdateParams
from .kv_namespace_binding import KVNamespaceBinding as KVNamespaceBinding
from .migration_step_param import MigrationStepParam as MigrationStepParam
diff --git a/src/cloudflare/types/workers/domain_delete_params.py b/src/cloudflare/types/workers/domain_delete_params.py
deleted file mode 100644
index 59d634fdbef..00000000000
--- a/src/cloudflare/types/workers/domain_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["DomainDeleteParams"]
-
-
-class DomainDeleteParams(TypedDict, total=False):
- account_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/workers/script_delete_params.py b/src/cloudflare/types/workers/script_delete_params.py
index 0766c499c83..1d8d872feca 100644
--- a/src/cloudflare/types/workers/script_delete_params.py
+++ b/src/cloudflare/types/workers/script_delete_params.py
@@ -11,8 +11,6 @@ class ScriptDeleteParams(TypedDict, total=False):
account_id: Required[str]
"""Identifier"""
- body: Required[object]
-
force: bool
"""
If set to true, delete will not be stopped by associated service binding,
diff --git a/src/cloudflare/types/workers/scripts/__init__.py b/src/cloudflare/types/workers/scripts/__init__.py
index 2eccd1a2cb7..233a054aa7a 100644
--- a/src/cloudflare/types/workers/scripts/__init__.py
+++ b/src/cloudflare/types/workers/scripts/__init__.py
@@ -8,7 +8,6 @@
from .deployment_param import DeploymentParam as DeploymentParam
from .tail_get_response import TailGetResponse as TailGetResponse
from .tail_create_params import TailCreateParams as TailCreateParams
-from .tail_delete_params import TailDeleteParams as TailDeleteParams
from .setting_edit_params import SettingEditParams as SettingEditParams
from .tail_create_response import TailCreateResponse as TailCreateResponse
from .tail_delete_response import TailDeleteResponse as TailDeleteResponse
diff --git a/src/cloudflare/types/workers/scripts/tail_delete_params.py b/src/cloudflare/types/workers/scripts/tail_delete_params.py
deleted file mode 100644
index 7b10be84f1b..00000000000
--- a/src/cloudflare/types/workers/scripts/tail_delete_params.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["TailDeleteParams"]
-
-
-class TailDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- script_name: Required[str]
- """Name of the script, used in URLs and route configuration."""
-
- body: Required[object]
diff --git a/src/cloudflare/types/workers_for_platforms/dispatch/namespaces/script_delete_params.py b/src/cloudflare/types/workers_for_platforms/dispatch/namespaces/script_delete_params.py
index 7e319272717..4ab2a41fd37 100644
--- a/src/cloudflare/types/workers_for_platforms/dispatch/namespaces/script_delete_params.py
+++ b/src/cloudflare/types/workers_for_platforms/dispatch/namespaces/script_delete_params.py
@@ -14,8 +14,6 @@ class ScriptDeleteParams(TypedDict, total=False):
dispatch_namespace: Required[str]
"""Name of the Workers for Platforms dispatch namespace."""
- body: Required[object]
-
force: bool
"""
If set to true, delete will not be stopped by associated service binding,
diff --git a/src/cloudflare/types/zero_trust/__init__.py b/src/cloudflare/types/zero_trust/__init__.py
index 733d9109806..fe2de93ed13 100644
--- a/src/cloudflare/types/zero_trust/__init__.py
+++ b/src/cloudflare/types/zero_trust/__init__.py
@@ -45,7 +45,6 @@
from .tunnel_get_response import TunnelGetResponse as TunnelGetResponse
from .generic_oauth_config import GenericOAuthConfig as GenericOAuthConfig
from .tunnel_create_params import TunnelCreateParams as TunnelCreateParams
-from .tunnel_delete_params import TunnelDeleteParams as TunnelDeleteParams
from .tunnel_edit_response import TunnelEditResponse as TunnelEditResponse
from .tunnel_list_response import TunnelListResponse as TunnelListResponse
from .email_list_rule_param import EmailListRuleParam as EmailListRuleParam
diff --git a/src/cloudflare/types/zero_trust/access/__init__.py b/src/cloudflare/types/zero_trust/access/__init__.py
index bdbafbcc60b..bdd5a08a92f 100644
--- a/src/cloudflare/types/zero_trust/access/__init__.py
+++ b/src/cloudflare/types/zero_trust/access/__init__.py
@@ -36,7 +36,6 @@
from .group_delete_response import GroupDeleteResponse as GroupDeleteResponse
from .saas_app_source_param import SaaSAppSourceParam as SaaSAppSourceParam
from .bookmark_create_params import BookmarkCreateParams as BookmarkCreateParams
-from .bookmark_delete_params import BookmarkDeleteParams as BookmarkDeleteParams
from .bookmark_update_params import BookmarkUpdateParams as BookmarkUpdateParams
from .saas_app_name_id_format import SaaSAppNameIDFormat as SaaSAppNameIDFormat
from .bookmark_delete_response import BookmarkDeleteResponse as BookmarkDeleteResponse
diff --git a/src/cloudflare/types/zero_trust/access/bookmark_delete_params.py b/src/cloudflare/types/zero_trust/access/bookmark_delete_params.py
deleted file mode 100644
index 394d90aa66a..00000000000
--- a/src/cloudflare/types/zero_trust/access/bookmark_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["BookmarkDeleteParams"]
-
-
-class BookmarkDeleteParams(TypedDict, total=False):
- identifier: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/zero_trust/devices/__init__.py b/src/cloudflare/types/zero_trust/devices/__init__.py
index cdcdaa700c9..629e4c5cec8 100644
--- a/src/cloudflare/types/zero_trust/devices/__init__.py
+++ b/src/cloudflare/types/zero_trust/devices/__init__.py
@@ -31,14 +31,11 @@
from .workspace_one_input import WorkspaceOneInput as WorkspaceOneInput
from .firewall_input_param import FirewallInputParam as FirewallInputParam
from .policy_create_params import PolicyCreateParams as PolicyCreateParams
-from .policy_delete_params import PolicyDeleteParams as PolicyDeleteParams
from .revoke_create_params import RevokeCreateParams as RevokeCreateParams
from .disk_encryption_input import DiskEncryptionInput as DiskEncryptionInput
from .network_create_params import NetworkCreateParams as NetworkCreateParams
-from .network_delete_params import NetworkDeleteParams as NetworkDeleteParams
from .network_update_params import NetworkUpdateParams as NetworkUpdateParams
from .posture_create_params import PostureCreateParams as PostureCreateParams
-from .posture_delete_params import PostureDeleteParams as PostureDeleteParams
from .posture_update_params import PostureUpdateParams as PostureUpdateParams
from .sentinelone_s2s_input import SentineloneS2sInput as SentineloneS2sInput
from .setting_update_params import SettingUpdateParams as SettingUpdateParams
diff --git a/src/cloudflare/types/zero_trust/devices/network_delete_params.py b/src/cloudflare/types/zero_trust/devices/network_delete_params.py
deleted file mode 100644
index f8d4d2308be..00000000000
--- a/src/cloudflare/types/zero_trust/devices/network_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["NetworkDeleteParams"]
-
-
-class NetworkDeleteParams(TypedDict, total=False):
- account_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/zero_trust/devices/policy_delete_params.py b/src/cloudflare/types/zero_trust/devices/policy_delete_params.py
deleted file mode 100644
index 4cb2ee753ce..00000000000
--- a/src/cloudflare/types/zero_trust/devices/policy_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["PolicyDeleteParams"]
-
-
-class PolicyDeleteParams(TypedDict, total=False):
- account_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/zero_trust/devices/posture/__init__.py b/src/cloudflare/types/zero_trust/devices/posture/__init__.py
index c2a4c5f170b..419d1479120 100644
--- a/src/cloudflare/types/zero_trust/devices/posture/__init__.py
+++ b/src/cloudflare/types/zero_trust/devices/posture/__init__.py
@@ -5,5 +5,4 @@
from .integration import Integration as Integration
from .integration_edit_params import IntegrationEditParams as IntegrationEditParams
from .integration_create_params import IntegrationCreateParams as IntegrationCreateParams
-from .integration_delete_params import IntegrationDeleteParams as IntegrationDeleteParams
from .integration_delete_response import IntegrationDeleteResponse as IntegrationDeleteResponse
diff --git a/src/cloudflare/types/zero_trust/devices/posture/integration_delete_params.py b/src/cloudflare/types/zero_trust/devices/posture/integration_delete_params.py
deleted file mode 100644
index ec8c43a8246..00000000000
--- a/src/cloudflare/types/zero_trust/devices/posture/integration_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["IntegrationDeleteParams"]
-
-
-class IntegrationDeleteParams(TypedDict, total=False):
- account_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/zero_trust/devices/posture_delete_params.py b/src/cloudflare/types/zero_trust/devices/posture_delete_params.py
deleted file mode 100644
index 302a213ee48..00000000000
--- a/src/cloudflare/types/zero_trust/devices/posture_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["PostureDeleteParams"]
-
-
-class PostureDeleteParams(TypedDict, total=False):
- account_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/zero_trust/dlp/profiles/__init__.py b/src/cloudflare/types/zero_trust/dlp/profiles/__init__.py
index 0b64a904912..0bc90b29380 100644
--- a/src/cloudflare/types/zero_trust/dlp/profiles/__init__.py
+++ b/src/cloudflare/types/zero_trust/dlp/profiles/__init__.py
@@ -7,7 +7,6 @@
from .custom_profile import CustomProfile as CustomProfile
from .predefined_profile import PredefinedProfile as PredefinedProfile
from .custom_create_params import CustomCreateParams as CustomCreateParams
-from .custom_delete_params import CustomDeleteParams as CustomDeleteParams
from .custom_update_params import CustomUpdateParams as CustomUpdateParams
from .custom_create_response import CustomCreateResponse as CustomCreateResponse
from .custom_delete_response import CustomDeleteResponse as CustomDeleteResponse
diff --git a/src/cloudflare/types/zero_trust/dlp/profiles/custom_delete_params.py b/src/cloudflare/types/zero_trust/dlp/profiles/custom_delete_params.py
deleted file mode 100644
index a4c6ca2be51..00000000000
--- a/src/cloudflare/types/zero_trust/dlp/profiles/custom_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["CustomDeleteParams"]
-
-
-class CustomDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Identifier"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/zero_trust/gateway/__init__.py b/src/cloudflare/types/zero_trust/gateway/__init__.py
index 836e219582a..b8627d5f6fc 100644
--- a/src/cloudflare/types/zero_trust/gateway/__init__.py
+++ b/src/cloudflare/types/zero_trust/gateway/__init__.py
@@ -22,11 +22,9 @@
from .location_network import LocationNetwork as LocationNetwork
from .gateway_item_param import GatewayItemParam as GatewayItemParam
from .list_create_params import ListCreateParams as ListCreateParams
-from .list_delete_params import ListDeleteParams as ListDeleteParams
from .list_update_params import ListUpdateParams as ListUpdateParams
from .protocol_detection import ProtocolDetection as ProtocolDetection
from .rule_create_params import RuleCreateParams as RuleCreateParams
-from .rule_delete_params import RuleDeleteParams as RuleDeleteParams
from .rule_setting_param import RuleSettingParam as RuleSettingParam
from .rule_update_params import RuleUpdateParams as RuleUpdateParams
from .tls_settings_param import TLSSettingsParam as TLSSettingsParam
@@ -41,7 +39,6 @@
from .notification_settings import NotificationSettings as NotificationSettings
from .body_scanning_settings import BodyScanningSettings as BodyScanningSettings
from .location_create_params import LocationCreateParams as LocationCreateParams
-from .location_delete_params import LocationDeleteParams as LocationDeleteParams
from .location_network_param import LocationNetworkParam as LocationNetworkParam
from .location_update_params import LocationUpdateParams as LocationUpdateParams
from .extended_email_matching import ExtendedEmailMatching as ExtendedEmailMatching
@@ -62,7 +59,6 @@
from .notification_settings_param import NotificationSettingsParam as NotificationSettingsParam
from .body_scanning_settings_param import BodyScanningSettingsParam as BodyScanningSettingsParam
from .proxy_endpoint_create_params import ProxyEndpointCreateParams as ProxyEndpointCreateParams
-from .proxy_endpoint_delete_params import ProxyEndpointDeleteParams as ProxyEndpointDeleteParams
from .configuration_update_response import ConfigurationUpdateResponse as ConfigurationUpdateResponse
from .extended_email_matching_param import ExtendedEmailMatchingParam as ExtendedEmailMatchingParam
from .dns_resolver_settings_v4_param import DNSResolverSettingsV4Param as DNSResolverSettingsV4Param
diff --git a/src/cloudflare/types/zero_trust/gateway/list_delete_params.py b/src/cloudflare/types/zero_trust/gateway/list_delete_params.py
deleted file mode 100644
index 42858bd751e..00000000000
--- a/src/cloudflare/types/zero_trust/gateway/list_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["ListDeleteParams"]
-
-
-class ListDeleteParams(TypedDict, total=False):
- account_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/zero_trust/gateway/location_delete_params.py b/src/cloudflare/types/zero_trust/gateway/location_delete_params.py
deleted file mode 100644
index afb7d137250..00000000000
--- a/src/cloudflare/types/zero_trust/gateway/location_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["LocationDeleteParams"]
-
-
-class LocationDeleteParams(TypedDict, total=False):
- account_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/zero_trust/gateway/proxy_endpoint_delete_params.py b/src/cloudflare/types/zero_trust/gateway/proxy_endpoint_delete_params.py
deleted file mode 100644
index 0eaa7e21a79..00000000000
--- a/src/cloudflare/types/zero_trust/gateway/proxy_endpoint_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["ProxyEndpointDeleteParams"]
-
-
-class ProxyEndpointDeleteParams(TypedDict, total=False):
- account_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/zero_trust/gateway/rule_delete_params.py b/src/cloudflare/types/zero_trust/gateway/rule_delete_params.py
deleted file mode 100644
index f729aaf685c..00000000000
--- a/src/cloudflare/types/zero_trust/gateway/rule_delete_params.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["RuleDeleteParams"]
-
-
-class RuleDeleteParams(TypedDict, total=False):
- account_id: Required[str]
-
- body: Required[object]
diff --git a/src/cloudflare/types/zero_trust/networks/__init__.py b/src/cloudflare/types/zero_trust/networks/__init__.py
index 8b26aa8b6b9..3f825849118 100644
--- a/src/cloudflare/types/zero_trust/networks/__init__.py
+++ b/src/cloudflare/types/zero_trust/networks/__init__.py
@@ -11,7 +11,6 @@
from .virtual_network_edit_params import VirtualNetworkEditParams as VirtualNetworkEditParams
from .virtual_network_list_params import VirtualNetworkListParams as VirtualNetworkListParams
from .virtual_network_create_params import VirtualNetworkCreateParams as VirtualNetworkCreateParams
-from .virtual_network_delete_params import VirtualNetworkDeleteParams as VirtualNetworkDeleteParams
from .virtual_network_edit_response import VirtualNetworkEditResponse as VirtualNetworkEditResponse
from .virtual_network_create_response import VirtualNetworkCreateResponse as VirtualNetworkCreateResponse
from .virtual_network_delete_response import VirtualNetworkDeleteResponse as VirtualNetworkDeleteResponse
diff --git a/src/cloudflare/types/zero_trust/networks/virtual_network_delete_params.py b/src/cloudflare/types/zero_trust/networks/virtual_network_delete_params.py
deleted file mode 100644
index 6fe5cb76ca2..00000000000
--- a/src/cloudflare/types/zero_trust/networks/virtual_network_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["VirtualNetworkDeleteParams"]
-
-
-class VirtualNetworkDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Cloudflare account ID"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/zero_trust/tunnel_delete_params.py b/src/cloudflare/types/zero_trust/tunnel_delete_params.py
deleted file mode 100644
index bf39b7b71e0..00000000000
--- a/src/cloudflare/types/zero_trust/tunnel_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["TunnelDeleteParams"]
-
-
-class TunnelDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Cloudflare account ID"""
-
- body: Required[object]
diff --git a/src/cloudflare/types/zero_trust/tunnels/__init__.py b/src/cloudflare/types/zero_trust/tunnels/__init__.py
index cdfdf2d324e..7b1c7d4263f 100644
--- a/src/cloudflare/types/zero_trust/tunnels/__init__.py
+++ b/src/cloudflare/types/zero_trust/tunnels/__init__.py
@@ -5,7 +5,6 @@
from .client import Client as Client
from .token_get_response import TokenGetResponse as TokenGetResponse
from .connection_get_response import ConnectionGetResponse as ConnectionGetResponse
-from .connection_delete_params import ConnectionDeleteParams as ConnectionDeleteParams
from .management_create_params import ManagementCreateParams as ManagementCreateParams
from .configuration_get_response import ConfigurationGetResponse as ConfigurationGetResponse
from .connection_delete_response import ConnectionDeleteResponse as ConnectionDeleteResponse
diff --git a/src/cloudflare/types/zero_trust/tunnels/connection_delete_params.py b/src/cloudflare/types/zero_trust/tunnels/connection_delete_params.py
deleted file mode 100644
index 2fe5468e16d..00000000000
--- a/src/cloudflare/types/zero_trust/tunnels/connection_delete_params.py
+++ /dev/null
@@ -1,14 +0,0 @@
-# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
-
-from __future__ import annotations
-
-from typing_extensions import Required, TypedDict
-
-__all__ = ["ConnectionDeleteParams"]
-
-
-class ConnectionDeleteParams(TypedDict, total=False):
- account_id: Required[str]
- """Cloudflare account ID"""
-
- body: Required[object]
diff --git a/tests/api_resources/accounts/test_members.py b/tests/api_resources/accounts/test_members.py
index 9aa9ad36804..539445948a0 100644
--- a/tests/api_resources/accounts/test_members.py
+++ b/tests/api_resources/accounts/test_members.py
@@ -207,7 +207,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
member = client.accounts.members.delete(
"4536bcfad5faccb111b47003c79917fa",
account_id={},
- body={},
)
assert_matches_type(Optional[MemberDeleteResponse], member, path=["response"])
@@ -217,7 +216,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.accounts.members.with_raw_response.delete(
"4536bcfad5faccb111b47003c79917fa",
account_id={},
- body={},
)
assert response.is_closed is True
@@ -231,7 +229,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.accounts.members.with_streaming_response.delete(
"4536bcfad5faccb111b47003c79917fa",
account_id={},
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -248,7 +245,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.accounts.members.with_raw_response.delete(
"",
account_id={},
- body={},
)
@pytest.mark.skip()
@@ -487,7 +483,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
member = await async_client.accounts.members.delete(
"4536bcfad5faccb111b47003c79917fa",
account_id={},
- body={},
)
assert_matches_type(Optional[MemberDeleteResponse], member, path=["response"])
@@ -497,7 +492,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.accounts.members.with_raw_response.delete(
"4536bcfad5faccb111b47003c79917fa",
account_id={},
- body={},
)
assert response.is_closed is True
@@ -511,7 +505,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.accounts.members.with_streaming_response.delete(
"4536bcfad5faccb111b47003c79917fa",
account_id={},
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -528,7 +521,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.accounts.members.with_raw_response.delete(
"",
account_id={},
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/addressing/address_maps/test_accounts.py b/tests/api_resources/addressing/address_maps/test_accounts.py
index 78926097266..510ed84f0fc 100644
--- a/tests/api_resources/addressing/address_maps/test_accounts.py
+++ b/tests/api_resources/addressing/address_maps/test_accounts.py
@@ -81,7 +81,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
account = client.addressing.address_maps.accounts.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"])
@@ -91,7 +90,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.addressing.address_maps.accounts.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -105,7 +103,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.addressing.address_maps.accounts.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -122,14 +119,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.addressing.address_maps.accounts.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `address_map_id` but received ''"):
client.addressing.address_maps.accounts.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@@ -199,7 +194,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
account = await async_client.addressing.address_maps.accounts.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[AccountDeleteResponse], account, path=["response"])
@@ -209,7 +203,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.addressing.address_maps.accounts.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -223,7 +216,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.addressing.address_maps.accounts.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -240,12 +232,10 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.addressing.address_maps.accounts.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `address_map_id` but received ''"):
await async_client.addressing.address_maps.accounts.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
diff --git a/tests/api_resources/addressing/address_maps/test_ips.py b/tests/api_resources/addressing/address_maps/test_ips.py
index f7d5578d9b9..0d44f1d5c0e 100644
--- a/tests/api_resources/addressing/address_maps/test_ips.py
+++ b/tests/api_resources/addressing/address_maps/test_ips.py
@@ -95,7 +95,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"192.0.2.1",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
address_map_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"])
@@ -106,7 +105,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"192.0.2.1",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
address_map_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -121,7 +119,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"192.0.2.1",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
address_map_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -139,7 +136,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"192.0.2.1",
account_id="",
address_map_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `address_map_id` but received ''"):
@@ -147,7 +143,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"192.0.2.1",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
address_map_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `ip_address` but received ''"):
@@ -155,7 +150,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
address_map_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@@ -239,7 +233,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"192.0.2.1",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
address_map_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[IPDeleteResponse], ip, path=["response"])
@@ -250,7 +243,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"192.0.2.1",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
address_map_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -265,7 +257,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"192.0.2.1",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
address_map_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -283,7 +274,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"192.0.2.1",
account_id="",
address_map_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `address_map_id` but received ''"):
@@ -291,7 +281,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"192.0.2.1",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
address_map_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `ip_address` but received ''"):
@@ -299,5 +288,4 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
address_map_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
diff --git a/tests/api_resources/addressing/address_maps/test_zones.py b/tests/api_resources/addressing/address_maps/test_zones.py
index 0d555264b02..923b6354664 100644
--- a/tests/api_resources/addressing/address_maps/test_zones.py
+++ b/tests/api_resources/addressing/address_maps/test_zones.py
@@ -95,7 +95,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"])
@@ -106,7 +105,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -121,7 +119,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -139,7 +136,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
@@ -147,7 +143,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `address_map_id` but received ''"):
@@ -155,7 +150,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@@ -239,7 +233,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[ZoneDeleteResponse], zone, path=["response"])
@@ -250,7 +243,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -265,7 +257,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -283,7 +274,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
@@ -291,7 +281,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `address_map_id` but received ''"):
@@ -299,5 +288,4 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
diff --git a/tests/api_resources/addressing/prefixes/test_delegations.py b/tests/api_resources/addressing/prefixes/test_delegations.py
index 36319156092..4cc4c7f4746 100644
--- a/tests/api_resources/addressing/prefixes/test_delegations.py
+++ b/tests/api_resources/addressing/prefixes/test_delegations.py
@@ -140,7 +140,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"d933b1530bc56c9953cf8ce166da8004",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
prefix_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[DelegationDeleteResponse], delegation, path=["response"])
@@ -151,7 +150,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"d933b1530bc56c9953cf8ce166da8004",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
prefix_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -166,7 +164,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"d933b1530bc56c9953cf8ce166da8004",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
prefix_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -184,7 +181,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"d933b1530bc56c9953cf8ce166da8004",
account_id="",
prefix_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `prefix_id` but received ''"):
@@ -192,7 +188,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"d933b1530bc56c9953cf8ce166da8004",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
prefix_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `delegation_id` but received ''"):
@@ -200,7 +195,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
prefix_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@@ -328,7 +322,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"d933b1530bc56c9953cf8ce166da8004",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
prefix_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[DelegationDeleteResponse], delegation, path=["response"])
@@ -339,7 +332,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"d933b1530bc56c9953cf8ce166da8004",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
prefix_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -354,7 +346,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"d933b1530bc56c9953cf8ce166da8004",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
prefix_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -372,7 +363,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"d933b1530bc56c9953cf8ce166da8004",
account_id="",
prefix_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `prefix_id` but received ''"):
@@ -380,7 +370,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"d933b1530bc56c9953cf8ce166da8004",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
prefix_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `delegation_id` but received ''"):
@@ -388,5 +377,4 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
prefix_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
diff --git a/tests/api_resources/addressing/test_address_maps.py b/tests/api_resources/addressing/test_address_maps.py
index f86b0bfbdcd..9451f8bd562 100644
--- a/tests/api_resources/addressing/test_address_maps.py
+++ b/tests/api_resources/addressing/test_address_maps.py
@@ -121,7 +121,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
address_map = client.addressing.address_maps.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"])
@@ -131,7 +130,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.addressing.address_maps.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -145,7 +143,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.addressing.address_maps.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -162,14 +159,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.addressing.address_maps.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `address_map_id` but received ''"):
client.addressing.address_maps.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -392,7 +387,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
address_map = await async_client.addressing.address_maps.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[AddressMapDeleteResponse], address_map, path=["response"])
@@ -402,7 +396,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.addressing.address_maps.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -416,7 +409,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.addressing.address_maps.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -433,14 +425,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.addressing.address_maps.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `address_map_id` but received ''"):
await async_client.addressing.address_maps.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/addressing/test_prefixes.py b/tests/api_resources/addressing/test_prefixes.py
index 6002ebc12b1..50ae289fe89 100644
--- a/tests/api_resources/addressing/test_prefixes.py
+++ b/tests/api_resources/addressing/test_prefixes.py
@@ -121,7 +121,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
prefix = client.addressing.prefixes.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"])
@@ -131,7 +130,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.addressing.prefixes.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -145,7 +143,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.addressing.prefixes.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -162,14 +159,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.addressing.prefixes.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `prefix_id` but received ''"):
client.addressing.prefixes.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -387,7 +382,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
prefix = await async_client.addressing.prefixes.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[PrefixDeleteResponse], prefix, path=["response"])
@@ -397,7 +391,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.addressing.prefixes.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -411,7 +404,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.addressing.prefixes.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -428,14 +420,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.addressing.prefixes.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `prefix_id` but received ''"):
await async_client.addressing.prefixes.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/cache/test_smart_tiered_cache.py b/tests/api_resources/cache/test_smart_tiered_cache.py
index 4b8df77a630..2e866ff3d75 100644
--- a/tests/api_resources/cache/test_smart_tiered_cache.py
+++ b/tests/api_resources/cache/test_smart_tiered_cache.py
@@ -24,7 +24,6 @@ class TestSmartTieredCache:
def test_method_delete(self, client: Cloudflare) -> None:
smart_tiered_cache = client.cache.smart_tiered_cache.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"])
@@ -33,7 +32,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.cache.smart_tiered_cache.with_raw_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -46,7 +44,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.cache.smart_tiered_cache.with_streaming_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -62,7 +59,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
client.cache.smart_tiered_cache.with_raw_response.delete(
zone_id="",
- body={},
)
@pytest.mark.skip()
@@ -162,7 +158,6 @@ class TestAsyncSmartTieredCache:
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
smart_tiered_cache = await async_client.cache.smart_tiered_cache.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(SmartTieredCacheDeleteResponse, smart_tiered_cache, path=["response"])
@@ -171,7 +166,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.cache.smart_tiered_cache.with_raw_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -184,7 +178,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.cache.smart_tiered_cache.with_streaming_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -200,7 +193,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
await async_client.cache.smart_tiered_cache.with_raw_response.delete(
zone_id="",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/cache/test_variants.py b/tests/api_resources/cache/test_variants.py
index a790a25d6c6..6ba31546a48 100644
--- a/tests/api_resources/cache/test_variants.py
+++ b/tests/api_resources/cache/test_variants.py
@@ -24,7 +24,6 @@ class TestVariants:
def test_method_delete(self, client: Cloudflare) -> None:
variant = client.cache.variants.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(CacheVariant, variant, path=["response"])
@@ -33,7 +32,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.cache.variants.with_raw_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -46,7 +44,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.cache.variants.with_streaming_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -62,7 +59,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
client.cache.variants.with_raw_response.delete(
zone_id="",
- body={},
)
@pytest.mark.skip()
@@ -183,7 +179,6 @@ class TestAsyncVariants:
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
variant = await async_client.cache.variants.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(CacheVariant, variant, path=["response"])
@@ -192,7 +187,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.cache.variants.with_raw_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -205,7 +199,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.cache.variants.with_streaming_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -221,7 +214,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
await async_client.cache.variants.with_raw_response.delete(
zone_id="",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/custom_hostnames/test_fallback_origin.py b/tests/api_resources/custom_hostnames/test_fallback_origin.py
index 67c87c3bbb3..15597c38f08 100644
--- a/tests/api_resources/custom_hostnames/test_fallback_origin.py
+++ b/tests/api_resources/custom_hostnames/test_fallback_origin.py
@@ -70,7 +70,6 @@ def test_path_params_update(self, client: Cloudflare) -> None:
def test_method_delete(self, client: Cloudflare) -> None:
fallback_origin = client.custom_hostnames.fallback_origin.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"])
@@ -79,7 +78,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.custom_hostnames.fallback_origin.with_raw_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -92,7 +90,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.custom_hostnames.fallback_origin.with_streaming_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -108,7 +105,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
client.custom_hostnames.fallback_origin.with_raw_response.delete(
zone_id="",
- body={},
)
@pytest.mark.skip()
@@ -208,7 +204,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
fallback_origin = await async_client.custom_hostnames.fallback_origin.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(FallbackOriginDeleteResponse, fallback_origin, path=["response"])
@@ -217,7 +212,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.custom_hostnames.fallback_origin.with_raw_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -230,7 +224,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.custom_hostnames.fallback_origin.with_streaming_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -246,7 +239,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
await async_client.custom_hostnames.fallback_origin.with_raw_response.delete(
zone_id="",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/dns/test_firewall.py b/tests/api_resources/dns/test_firewall.py
index e6b536e9e09..b5374071dea 100644
--- a/tests/api_resources/dns/test_firewall.py
+++ b/tests/api_resources/dns/test_firewall.py
@@ -148,7 +148,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
firewall = client.dns.firewall.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(FirewallDeleteResponse, firewall, path=["response"])
@@ -158,7 +157,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.dns.firewall.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -172,7 +170,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.dns.firewall.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -189,14 +186,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.dns.firewall.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `dns_firewall_id` but received ''"):
client.dns.firewall.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -494,7 +489,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
firewall = await async_client.dns.firewall.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(FirewallDeleteResponse, firewall, path=["response"])
@@ -504,7 +498,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.dns.firewall.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -518,7 +511,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.dns.firewall.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -535,14 +527,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.dns.firewall.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `dns_firewall_id` but received ''"):
await async_client.dns.firewall.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/dns/test_records.py b/tests/api_resources/dns/test_records.py
index 6999945188d..c09c25a689c 100644
--- a/tests/api_resources/dns/test_records.py
+++ b/tests/api_resources/dns/test_records.py
@@ -3276,7 +3276,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
record = client.dns.records.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[RecordDeleteResponse], record, path=["response"])
@@ -3286,7 +3285,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.dns.records.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -3300,7 +3298,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.dns.records.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -3317,14 +3314,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.dns.records.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `dns_record_id` but received ''"):
client.dns.records.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -8509,7 +8504,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
record = await async_client.dns.records.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[RecordDeleteResponse], record, path=["response"])
@@ -8519,7 +8513,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.dns.records.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -8533,7 +8526,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.dns.records.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -8550,14 +8542,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.dns.records.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `dns_record_id` but received ''"):
await async_client.dns.records.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/firewall/test_access_rules.py b/tests/api_resources/firewall/test_access_rules.py
index ae4f4f43e6a..236125f1470 100644
--- a/tests/api_resources/firewall/test_access_rules.py
+++ b/tests/api_resources/firewall/test_access_rules.py
@@ -181,7 +181,6 @@ def test_path_params_list(self, client: Cloudflare) -> None:
def test_method_delete(self, client: Cloudflare) -> None:
access_rule = client.firewall.access_rules.delete(
{},
- body={},
account_id="string",
zone_id="string",
)
@@ -192,7 +191,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_method_delete_with_all_params(self, client: Cloudflare) -> None:
access_rule = client.firewall.access_rules.delete(
{},
- body={},
account_id="string",
zone_id="string",
)
@@ -203,7 +201,6 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.firewall.access_rules.with_raw_response.delete(
{},
- body={},
account_id="string",
zone_id="string",
)
@@ -218,7 +215,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.firewall.access_rules.with_streaming_response.delete(
{},
- body={},
account_id="string",
zone_id="string",
) as response:
@@ -236,7 +232,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
client.firewall.access_rules.with_raw_response.delete(
{},
- body={},
account_id="",
zone_id="string",
)
@@ -244,7 +239,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
client.firewall.access_rules.with_raw_response.delete(
{},
- body={},
account_id="string",
zone_id="",
)
@@ -563,7 +557,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None:
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
access_rule = await async_client.firewall.access_rules.delete(
{},
- body={},
account_id="string",
zone_id="string",
)
@@ -574,7 +567,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None:
access_rule = await async_client.firewall.access_rules.delete(
{},
- body={},
account_id="string",
zone_id="string",
)
@@ -585,7 +577,6 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.firewall.access_rules.with_raw_response.delete(
{},
- body={},
account_id="string",
zone_id="string",
)
@@ -600,7 +591,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.firewall.access_rules.with_streaming_response.delete(
{},
- body={},
account_id="string",
zone_id="string",
) as response:
@@ -618,7 +608,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
await async_client.firewall.access_rules.with_raw_response.delete(
{},
- body={},
account_id="",
zone_id="string",
)
@@ -626,7 +615,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
await async_client.firewall.access_rules.with_raw_response.delete(
{},
- body={},
account_id="string",
zone_id="",
)
diff --git a/tests/api_resources/firewall/test_lockdowns.py b/tests/api_resources/firewall/test_lockdowns.py
index 0afdb920d28..96cb688822e 100644
--- a/tests/api_resources/firewall/test_lockdowns.py
+++ b/tests/api_resources/firewall/test_lockdowns.py
@@ -190,7 +190,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
lockdown = client.firewall.lockdowns.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[LockdownDeleteResponse], lockdown, path=["response"])
@@ -200,7 +199,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.firewall.lockdowns.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -214,7 +212,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.firewall.lockdowns.with_streaming_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -231,14 +228,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.firewall.lockdowns.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
client.firewall.lockdowns.with_raw_response.delete(
"",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -467,7 +462,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
lockdown = await async_client.firewall.lockdowns.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[LockdownDeleteResponse], lockdown, path=["response"])
@@ -477,7 +471,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.firewall.lockdowns.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -491,7 +484,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.firewall.lockdowns.with_streaming_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -508,14 +500,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.firewall.lockdowns.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
await async_client.firewall.lockdowns.with_raw_response.delete(
"",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/firewall/test_rules.py b/tests/api_resources/firewall/test_rules.py
index 7bd380f77e1..d97fb08418b 100644
--- a/tests/api_resources/firewall/test_rules.py
+++ b/tests/api_resources/firewall/test_rules.py
@@ -188,16 +188,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
)
assert_matches_type(FirewallRule, rule, path=["response"])
- @pytest.mark.skip()
- @parametrize
- def test_method_delete_with_all_params(self, client: Cloudflare) -> None:
- rule = client.firewall.rules.delete(
- "372e67954025e0ba6aaa6d586b9e0b60",
- zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- delete_filter_if_unused=True,
- )
- assert_matches_type(FirewallRule, rule, path=["response"])
-
@pytest.mark.skip()
@parametrize
def test_raw_response_delete(self, client: Cloudflare) -> None:
@@ -533,16 +523,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
)
assert_matches_type(FirewallRule, rule, path=["response"])
- @pytest.mark.skip()
- @parametrize
- async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None:
- rule = await async_client.firewall.rules.delete(
- "372e67954025e0ba6aaa6d586b9e0b60",
- zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- delete_filter_if_unused=True,
- )
- assert_matches_type(FirewallRule, rule, path=["response"])
-
@pytest.mark.skip()
@parametrize
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
diff --git a/tests/api_resources/firewall/test_ua_rules.py b/tests/api_resources/firewall/test_ua_rules.py
index 4b9c99603c2..ef141708262 100644
--- a/tests/api_resources/firewall/test_ua_rules.py
+++ b/tests/api_resources/firewall/test_ua_rules.py
@@ -186,7 +186,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
ua_rule = client.firewall.ua_rules.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(UARuleDeleteResponse, ua_rule, path=["response"])
@@ -196,7 +195,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.firewall.ua_rules.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -210,7 +208,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.firewall.ua_rules.with_streaming_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -227,14 +224,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.firewall.ua_rules.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
client.firewall.ua_rules.with_raw_response.delete(
"",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -457,7 +452,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
ua_rule = await async_client.firewall.ua_rules.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(UARuleDeleteResponse, ua_rule, path=["response"])
@@ -467,7 +461,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.firewall.ua_rules.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -481,7 +474,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.firewall.ua_rules.with_streaming_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -498,14 +490,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.firewall.ua_rules.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
await async_client.firewall.ua_rules.with_raw_response.delete(
"",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/firewall/waf/test_overrides.py b/tests/api_resources/firewall/waf/test_overrides.py
index d522f91966e..8aebbb01917 100644
--- a/tests/api_resources/firewall/waf/test_overrides.py
+++ b/tests/api_resources/firewall/waf/test_overrides.py
@@ -180,7 +180,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
override = client.firewall.waf.overrides.delete(
"de677e5818985db1285d0e80225f06e5",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[OverrideDeleteResponse], override, path=["response"])
@@ -190,7 +189,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.firewall.waf.overrides.with_raw_response.delete(
"de677e5818985db1285d0e80225f06e5",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -204,7 +202,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.firewall.waf.overrides.with_streaming_response.delete(
"de677e5818985db1285d0e80225f06e5",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -221,14 +218,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.firewall.waf.overrides.with_raw_response.delete(
"de677e5818985db1285d0e80225f06e5",
zone_identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
client.firewall.waf.overrides.with_raw_response.delete(
"",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -448,7 +443,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
override = await async_client.firewall.waf.overrides.delete(
"de677e5818985db1285d0e80225f06e5",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[OverrideDeleteResponse], override, path=["response"])
@@ -458,7 +452,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.firewall.waf.overrides.with_raw_response.delete(
"de677e5818985db1285d0e80225f06e5",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -472,7 +465,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.firewall.waf.overrides.with_streaming_response.delete(
"de677e5818985db1285d0e80225f06e5",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -489,14 +481,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.firewall.waf.overrides.with_raw_response.delete(
"de677e5818985db1285d0e80225f06e5",
zone_identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
await async_client.firewall.waf.overrides.with_raw_response.delete(
"",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/healthchecks/test_previews.py b/tests/api_resources/healthchecks/test_previews.py
index 83cc4499eb4..5f4425d4201 100644
--- a/tests/api_resources/healthchecks/test_previews.py
+++ b/tests/api_resources/healthchecks/test_previews.py
@@ -110,7 +110,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
preview = client.healthchecks.previews.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(PreviewDeleteResponse, preview, path=["response"])
@@ -120,7 +119,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.healthchecks.previews.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -134,7 +132,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.healthchecks.previews.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -151,14 +148,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.healthchecks.previews.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `healthcheck_id` but received ''"):
client.healthchecks.previews.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -309,7 +304,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
preview = await async_client.healthchecks.previews.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(PreviewDeleteResponse, preview, path=["response"])
@@ -319,7 +313,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.healthchecks.previews.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -333,7 +326,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.healthchecks.previews.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -350,14 +342,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.healthchecks.previews.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `healthcheck_id` but received ''"):
await async_client.healthchecks.previews.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/images/test_v1.py b/tests/api_resources/images/test_v1.py
index fc6ab9d69f0..5cc041ba186 100644
--- a/tests/api_resources/images/test_v1.py
+++ b/tests/api_resources/images/test_v1.py
@@ -132,7 +132,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
v1 = client.images.v1.delete(
"string",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(V1DeleteResponse, v1, path=["response"])
@@ -142,7 +141,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.images.v1.with_raw_response.delete(
"string",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -156,7 +154,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.images.v1.with_streaming_response.delete(
"string",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -173,14 +170,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.images.v1.with_raw_response.delete(
"string",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `image_id` but received ''"):
client.images.v1.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -414,7 +409,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
v1 = await async_client.images.v1.delete(
"string",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(V1DeleteResponse, v1, path=["response"])
@@ -424,7 +418,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.images.v1.with_raw_response.delete(
"string",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -438,7 +431,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.images.v1.with_streaming_response.delete(
"string",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -455,14 +447,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.images.v1.with_raw_response.delete(
"string",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `image_id` but received ''"):
await async_client.images.v1.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/images/v1/test_variants.py b/tests/api_resources/images/v1/test_variants.py
index f0b82621cf7..884c31e7d69 100644
--- a/tests/api_resources/images/v1/test_variants.py
+++ b/tests/api_resources/images/v1/test_variants.py
@@ -155,7 +155,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
variant = client.images.v1.variants.delete(
"hero",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(VariantDeleteResponse, variant, path=["response"])
@@ -165,7 +164,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.images.v1.variants.with_raw_response.delete(
"hero",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -179,7 +177,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.images.v1.variants.with_streaming_response.delete(
"hero",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -196,14 +193,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.images.v1.variants.with_raw_response.delete(
"hero",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `variant_id` but received ''"):
client.images.v1.variants.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -494,7 +489,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
variant = await async_client.images.v1.variants.delete(
"hero",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(VariantDeleteResponse, variant, path=["response"])
@@ -504,7 +498,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.images.v1.variants.with_raw_response.delete(
"hero",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -518,7 +511,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.images.v1.variants.with_streaming_response.delete(
"hero",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -535,14 +527,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.images.v1.variants.with_raw_response.delete(
"hero",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `variant_id` but received ''"):
await async_client.images.v1.variants.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/kv/namespaces/test_bulk.py b/tests/api_resources/kv/namespaces/test_bulk.py
index 9732acf1d42..7cbc6df1745 100644
--- a/tests/api_resources/kv/namespaces/test_bulk.py
+++ b/tests/api_resources/kv/namespaces/test_bulk.py
@@ -81,7 +81,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
bulk = client.kv.namespaces.bulk.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body=["My-Key", "My-Key", "My-Key"],
)
assert_matches_type(BulkDeleteResponse, bulk, path=["response"])
@@ -91,7 +90,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.kv.namespaces.bulk.with_raw_response.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body=["My-Key", "My-Key", "My-Key"],
)
assert response.is_closed is True
@@ -105,7 +103,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.kv.namespaces.bulk.with_streaming_response.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body=["My-Key", "My-Key", "My-Key"],
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -122,14 +119,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.kv.namespaces.bulk.with_raw_response.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="",
- body=["My-Key", "My-Key", "My-Key"],
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `namespace_id` but received ''"):
client.kv.namespaces.bulk.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body=["My-Key", "My-Key", "My-Key"],
)
@@ -199,7 +194,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
bulk = await async_client.kv.namespaces.bulk.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body=["My-Key", "My-Key", "My-Key"],
)
assert_matches_type(BulkDeleteResponse, bulk, path=["response"])
@@ -209,7 +203,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.kv.namespaces.bulk.with_raw_response.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body=["My-Key", "My-Key", "My-Key"],
)
assert response.is_closed is True
@@ -223,7 +216,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.kv.namespaces.bulk.with_streaming_response.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body=["My-Key", "My-Key", "My-Key"],
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -240,12 +232,10 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.kv.namespaces.bulk.with_raw_response.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="",
- body=["My-Key", "My-Key", "My-Key"],
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `namespace_id` but received ''"):
await async_client.kv.namespaces.bulk.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body=["My-Key", "My-Key", "My-Key"],
)
diff --git a/tests/api_resources/kv/namespaces/test_values.py b/tests/api_resources/kv/namespaces/test_values.py
index d6800fec3f8..b7861caaac3 100644
--- a/tests/api_resources/kv/namespaces/test_values.py
+++ b/tests/api_resources/kv/namespaces/test_values.py
@@ -101,7 +101,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"My-Key",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
namespace_id="0f2ac74b498b48028cb68387c421e279",
- body={},
)
assert_matches_type(ValueDeleteResponse, value, path=["response"])
@@ -112,7 +111,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"My-Key",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
namespace_id="0f2ac74b498b48028cb68387c421e279",
- body={},
)
assert response.is_closed is True
@@ -127,7 +125,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"My-Key",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
namespace_id="0f2ac74b498b48028cb68387c421e279",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -145,7 +142,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"My-Key",
account_id="",
namespace_id="0f2ac74b498b48028cb68387c421e279",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `namespace_id` but received ''"):
@@ -153,7 +149,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"My-Key",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
namespace_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `key_name` but received ''"):
@@ -161,7 +156,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
namespace_id="0f2ac74b498b48028cb68387c421e279",
- body={},
)
@pytest.mark.skip()
@@ -315,7 +309,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"My-Key",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
namespace_id="0f2ac74b498b48028cb68387c421e279",
- body={},
)
assert_matches_type(ValueDeleteResponse, value, path=["response"])
@@ -326,7 +319,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"My-Key",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
namespace_id="0f2ac74b498b48028cb68387c421e279",
- body={},
)
assert response.is_closed is True
@@ -341,7 +333,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"My-Key",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
namespace_id="0f2ac74b498b48028cb68387c421e279",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -359,7 +350,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"My-Key",
account_id="",
namespace_id="0f2ac74b498b48028cb68387c421e279",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `namespace_id` but received ''"):
@@ -367,7 +357,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"My-Key",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
namespace_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `key_name` but received ''"):
@@ -375,7 +364,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
namespace_id="0f2ac74b498b48028cb68387c421e279",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/kv/test_namespaces.py b/tests/api_resources/kv/test_namespaces.py
index 8ef7b4acd76..cba2aa4f8b1 100644
--- a/tests/api_resources/kv/test_namespaces.py
+++ b/tests/api_resources/kv/test_namespaces.py
@@ -183,7 +183,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
namespace = client.kv.namespaces.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"])
@@ -193,7 +192,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.kv.namespaces.with_raw_response.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -207,7 +205,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.kv.namespaces.with_streaming_response.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -224,14 +221,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.kv.namespaces.with_raw_response.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `namespace_id` but received ''"):
client.kv.namespaces.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@@ -401,7 +396,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
namespace = await async_client.kv.namespaces.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(NamespaceDeleteResponse, namespace, path=["response"])
@@ -411,7 +405,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.kv.namespaces.with_raw_response.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -425,7 +418,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.kv.namespaces.with_streaming_response.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -442,12 +434,10 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.kv.namespaces.with_raw_response.delete(
"0f2ac74b498b48028cb68387c421e279",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `namespace_id` but received ''"):
await async_client.kv.namespaces.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
diff --git a/tests/api_resources/load_balancers/test_monitors.py b/tests/api_resources/load_balancers/test_monitors.py
index 946c94fbb58..1982d09b0f0 100644
--- a/tests/api_resources/load_balancers/test_monitors.py
+++ b/tests/api_resources/load_balancers/test_monitors.py
@@ -225,7 +225,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
monitor = client.load_balancers.monitors.delete(
"f1aba936b94213e5b8dca0c0dbf1f9cc",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(MonitorDeleteResponse, monitor, path=["response"])
@@ -235,7 +234,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.load_balancers.monitors.with_raw_response.delete(
"f1aba936b94213e5b8dca0c0dbf1f9cc",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -249,7 +247,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.load_balancers.monitors.with_streaming_response.delete(
"f1aba936b94213e5b8dca0c0dbf1f9cc",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -266,14 +263,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.load_balancers.monitors.with_raw_response.delete(
"f1aba936b94213e5b8dca0c0dbf1f9cc",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `monitor_id` but received ''"):
client.load_balancers.monitors.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -623,7 +618,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
monitor = await async_client.load_balancers.monitors.delete(
"f1aba936b94213e5b8dca0c0dbf1f9cc",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(MonitorDeleteResponse, monitor, path=["response"])
@@ -633,7 +627,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.load_balancers.monitors.with_raw_response.delete(
"f1aba936b94213e5b8dca0c0dbf1f9cc",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -647,7 +640,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.load_balancers.monitors.with_streaming_response.delete(
"f1aba936b94213e5b8dca0c0dbf1f9cc",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -664,14 +656,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.load_balancers.monitors.with_raw_response.delete(
"f1aba936b94213e5b8dca0c0dbf1f9cc",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `monitor_id` but received ''"):
await async_client.load_balancers.monitors.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/load_balancers/test_pools.py b/tests/api_resources/load_balancers/test_pools.py
index b0a3a6e5c88..7fef3026904 100644
--- a/tests/api_resources/load_balancers/test_pools.py
+++ b/tests/api_resources/load_balancers/test_pools.py
@@ -308,7 +308,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
pool = client.load_balancers.pools.delete(
"17b5962d775c646f3f9725cbc7a53df4",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(PoolDeleteResponse, pool, path=["response"])
@@ -318,7 +317,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.load_balancers.pools.with_raw_response.delete(
"17b5962d775c646f3f9725cbc7a53df4",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -332,7 +330,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.load_balancers.pools.with_streaming_response.delete(
"17b5962d775c646f3f9725cbc7a53df4",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -349,14 +346,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.load_balancers.pools.with_raw_response.delete(
"17b5962d775c646f3f9725cbc7a53df4",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `pool_id` but received ''"):
client.load_balancers.pools.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -817,7 +812,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
pool = await async_client.load_balancers.pools.delete(
"17b5962d775c646f3f9725cbc7a53df4",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(PoolDeleteResponse, pool, path=["response"])
@@ -827,7 +821,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.load_balancers.pools.with_raw_response.delete(
"17b5962d775c646f3f9725cbc7a53df4",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -841,7 +834,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.load_balancers.pools.with_streaming_response.delete(
"17b5962d775c646f3f9725cbc7a53df4",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -858,14 +850,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.load_balancers.pools.with_raw_response.delete(
"17b5962d775c646f3f9725cbc7a53df4",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `pool_id` but received ''"):
await async_client.load_balancers.pools.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/logpush/test_jobs.py b/tests/api_resources/logpush/test_jobs.py
index 3d243709d0e..61e462a0054 100644
--- a/tests/api_resources/logpush/test_jobs.py
+++ b/tests/api_resources/logpush/test_jobs.py
@@ -257,7 +257,6 @@ def test_path_params_list(self, client: Cloudflare) -> None:
def test_method_delete(self, client: Cloudflare) -> None:
job = client.logpush.jobs.delete(
1,
- body={},
account_id="string",
zone_id="string",
)
@@ -268,7 +267,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_method_delete_with_all_params(self, client: Cloudflare) -> None:
job = client.logpush.jobs.delete(
1,
- body={},
account_id="string",
zone_id="string",
)
@@ -279,7 +277,6 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.logpush.jobs.with_raw_response.delete(
1,
- body={},
account_id="string",
zone_id="string",
)
@@ -294,7 +291,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.logpush.jobs.with_streaming_response.delete(
1,
- body={},
account_id="string",
zone_id="string",
) as response:
@@ -312,7 +308,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
client.logpush.jobs.with_raw_response.delete(
1,
- body={},
account_id="",
zone_id="string",
)
@@ -320,7 +315,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
client.logpush.jobs.with_raw_response.delete(
1,
- body={},
account_id="string",
zone_id="",
)
@@ -635,7 +629,6 @@ async def test_path_params_list(self, async_client: AsyncCloudflare) -> None:
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
job = await async_client.logpush.jobs.delete(
1,
- body={},
account_id="string",
zone_id="string",
)
@@ -646,7 +639,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None:
job = await async_client.logpush.jobs.delete(
1,
- body={},
account_id="string",
zone_id="string",
)
@@ -657,7 +649,6 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.logpush.jobs.with_raw_response.delete(
1,
- body={},
account_id="string",
zone_id="string",
)
@@ -672,7 +663,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.logpush.jobs.with_streaming_response.delete(
1,
- body={},
account_id="string",
zone_id="string",
) as response:
@@ -690,7 +680,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
await async_client.logpush.jobs.with_raw_response.delete(
1,
- body={},
account_id="",
zone_id="string",
)
@@ -698,7 +687,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
await async_client.logpush.jobs.with_raw_response.delete(
1,
- body={},
account_id="string",
zone_id="",
)
diff --git a/tests/api_resources/logs/control/cmb/test_config.py b/tests/api_resources/logs/control/cmb/test_config.py
index 6849b57fe85..bb3c24cab91 100644
--- a/tests/api_resources/logs/control/cmb/test_config.py
+++ b/tests/api_resources/logs/control/cmb/test_config.py
@@ -73,7 +73,6 @@ def test_path_params_create(self, client: Cloudflare) -> None:
def test_method_delete(self, client: Cloudflare) -> None:
config = client.logs.control.cmb.config.delete(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(object, config, path=["response"])
@@ -82,7 +81,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.logs.control.cmb.config.with_raw_response.delete(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -95,7 +93,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.logs.control.cmb.config.with_streaming_response.delete(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -111,7 +108,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
client.logs.control.cmb.config.with_raw_response.delete(
account_id="",
- body={},
)
@pytest.mark.skip()
@@ -216,7 +212,6 @@ async def test_path_params_create(self, async_client: AsyncCloudflare) -> None:
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
config = await async_client.logs.control.cmb.config.delete(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(object, config, path=["response"])
@@ -225,7 +220,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.logs.control.cmb.config.with_raw_response.delete(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -238,7 +232,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.logs.control.cmb.config.with_streaming_response.delete(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -254,7 +247,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
await async_client.logs.control.cmb.config.with_raw_response.delete(
account_id="",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/magic_network_monitoring/test_configs.py b/tests/api_resources/magic_network_monitoring/test_configs.py
index d1354b7f9cc..ce63e10d9bb 100644
--- a/tests/api_resources/magic_network_monitoring/test_configs.py
+++ b/tests/api_resources/magic_network_monitoring/test_configs.py
@@ -114,7 +114,6 @@ def test_path_params_update(self, client: Cloudflare) -> None:
def test_method_delete(self, client: Cloudflare) -> None:
config = client.magic_network_monitoring.configs.delete(
account_id="6f91088a406011ed95aed352566e8d4c",
- body={},
)
assert_matches_type(Configuration, config, path=["response"])
@@ -123,7 +122,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.magic_network_monitoring.configs.with_raw_response.delete(
account_id="6f91088a406011ed95aed352566e8d4c",
- body={},
)
assert response.is_closed is True
@@ -136,7 +134,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.magic_network_monitoring.configs.with_streaming_response.delete(
account_id="6f91088a406011ed95aed352566e8d4c",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -152,7 +149,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
client.magic_network_monitoring.configs.with_raw_response.delete(
account_id="",
- body={},
)
@pytest.mark.skip()
@@ -344,7 +340,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
config = await async_client.magic_network_monitoring.configs.delete(
account_id="6f91088a406011ed95aed352566e8d4c",
- body={},
)
assert_matches_type(Configuration, config, path=["response"])
@@ -353,7 +348,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.magic_network_monitoring.configs.with_raw_response.delete(
account_id="6f91088a406011ed95aed352566e8d4c",
- body={},
)
assert response.is_closed is True
@@ -366,7 +360,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.magic_network_monitoring.configs.with_streaming_response.delete(
account_id="6f91088a406011ed95aed352566e8d4c",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -382,7 +375,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
await async_client.magic_network_monitoring.configs.with_raw_response.delete(
account_id="",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/magic_network_monitoring/test_rules.py b/tests/api_resources/magic_network_monitoring/test_rules.py
index fb02399bc0c..1ad3cebebfd 100644
--- a/tests/api_resources/magic_network_monitoring/test_rules.py
+++ b/tests/api_resources/magic_network_monitoring/test_rules.py
@@ -158,7 +158,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
rule = client.magic_network_monitoring.rules.delete(
"2890e6fa406311ed9b5a23f70f6fb8cf",
account_id="6f91088a406011ed95aed352566e8d4c",
- body={},
)
assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"])
@@ -168,7 +167,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.magic_network_monitoring.rules.with_raw_response.delete(
"2890e6fa406311ed9b5a23f70f6fb8cf",
account_id="6f91088a406011ed95aed352566e8d4c",
- body={},
)
assert response.is_closed is True
@@ -182,7 +180,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.magic_network_monitoring.rules.with_streaming_response.delete(
"2890e6fa406311ed9b5a23f70f6fb8cf",
account_id="6f91088a406011ed95aed352566e8d4c",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -199,14 +196,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.magic_network_monitoring.rules.with_raw_response.delete(
"2890e6fa406311ed9b5a23f70f6fb8cf",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `rule_id` but received ''"):
client.magic_network_monitoring.rules.with_raw_response.delete(
"",
account_id="6f91088a406011ed95aed352566e8d4c",
- body={},
)
@pytest.mark.skip()
@@ -462,7 +457,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
rule = await async_client.magic_network_monitoring.rules.delete(
"2890e6fa406311ed9b5a23f70f6fb8cf",
account_id="6f91088a406011ed95aed352566e8d4c",
- body={},
)
assert_matches_type(Optional[MagicNetworkMonitoringRule], rule, path=["response"])
@@ -472,7 +466,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.magic_network_monitoring.rules.with_raw_response.delete(
"2890e6fa406311ed9b5a23f70f6fb8cf",
account_id="6f91088a406011ed95aed352566e8d4c",
- body={},
)
assert response.is_closed is True
@@ -486,7 +479,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.magic_network_monitoring.rules.with_streaming_response.delete(
"2890e6fa406311ed9b5a23f70f6fb8cf",
account_id="6f91088a406011ed95aed352566e8d4c",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -503,14 +495,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.magic_network_monitoring.rules.with_raw_response.delete(
"2890e6fa406311ed9b5a23f70f6fb8cf",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `rule_id` but received ''"):
await async_client.magic_network_monitoring.rules.with_raw_response.delete(
"",
account_id="6f91088a406011ed95aed352566e8d4c",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/magic_transit/sites/test_acls.py b/tests/api_resources/magic_transit/sites/test_acls.py
index 3cc7bbdf247..3b2f5c111db 100644
--- a/tests/api_resources/magic_transit/sites/test_acls.py
+++ b/tests/api_resources/magic_transit/sites/test_acls.py
@@ -259,7 +259,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(ACL, acl, path=["response"])
@@ -270,7 +269,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -285,7 +283,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -303,7 +300,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `site_id` but received ''"):
@@ -311,7 +307,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `acl_identifier` but received ''"):
@@ -319,7 +314,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -631,7 +625,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(ACL, acl, path=["response"])
@@ -642,7 +635,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -657,7 +649,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -675,7 +666,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `site_id` but received ''"):
@@ -683,7 +673,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `acl_identifier` but received ''"):
@@ -691,7 +680,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/magic_transit/sites/test_lans.py b/tests/api_resources/magic_transit/sites/test_lans.py
index 9ab10d2780b..05a0fde057d 100644
--- a/tests/api_resources/magic_transit/sites/test_lans.py
+++ b/tests/api_resources/magic_transit/sites/test_lans.py
@@ -296,7 +296,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(LAN, lan, path=["response"])
@@ -307,7 +306,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -322,7 +320,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -340,7 +337,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `site_id` but received ''"):
@@ -348,7 +344,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `lan_id` but received ''"):
@@ -356,7 +351,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -704,7 +698,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(LAN, lan, path=["response"])
@@ -715,7 +708,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -730,7 +722,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -748,7 +739,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `site_id` but received ''"):
@@ -756,7 +746,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `lan_id` but received ''"):
@@ -764,7 +753,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/magic_transit/sites/test_wans.py b/tests/api_resources/magic_transit/sites/test_wans.py
index 08eb99c288c..8dc7f5a7901 100644
--- a/tests/api_resources/magic_transit/sites/test_wans.py
+++ b/tests/api_resources/magic_transit/sites/test_wans.py
@@ -241,7 +241,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(WAN, wan, path=["response"])
@@ -252,7 +251,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -267,7 +265,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -285,7 +282,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `site_id` but received ''"):
@@ -293,7 +289,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `wan_id` but received ''"):
@@ -301,7 +296,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -594,7 +588,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(WAN, wan, path=["response"])
@@ -605,7 +598,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -620,7 +612,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -638,7 +629,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `site_id` but received ''"):
@@ -646,7 +636,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `wan_id` but received ''"):
@@ -654,7 +643,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
site_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/magic_transit/test_gre_tunnels.py b/tests/api_resources/magic_transit/test_gre_tunnels.py
index ceec2e94870..7420d9cef8c 100644
--- a/tests/api_resources/magic_transit/test_gre_tunnels.py
+++ b/tests/api_resources/magic_transit/test_gre_tunnels.py
@@ -210,7 +210,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
gre_tunnel = client.magic_transit.gre_tunnels.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(GRETunnelDeleteResponse, gre_tunnel, path=["response"])
@@ -220,7 +219,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.magic_transit.gre_tunnels.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -234,7 +232,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.magic_transit.gre_tunnels.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -251,14 +248,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.magic_transit.gre_tunnels.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tunnel_identifier` but received ''"):
client.magic_transit.gre_tunnels.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -506,7 +501,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
gre_tunnel = await async_client.magic_transit.gre_tunnels.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(GRETunnelDeleteResponse, gre_tunnel, path=["response"])
@@ -516,7 +510,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.magic_transit.gre_tunnels.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -530,7 +523,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.magic_transit.gre_tunnels.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -547,14 +539,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.magic_transit.gre_tunnels.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tunnel_identifier` but received ''"):
await async_client.magic_transit.gre_tunnels.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/magic_transit/test_ipsec_tunnels.py b/tests/api_resources/magic_transit/test_ipsec_tunnels.py
index c5b0736f9d9..38241ce8d99 100644
--- a/tests/api_resources/magic_transit/test_ipsec_tunnels.py
+++ b/tests/api_resources/magic_transit/test_ipsec_tunnels.py
@@ -236,7 +236,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
ipsec_tunnel = client.magic_transit.ipsec_tunnels.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(IPSECTunnelDeleteResponse, ipsec_tunnel, path=["response"])
@@ -246,7 +245,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.magic_transit.ipsec_tunnels.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -260,7 +258,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.magic_transit.ipsec_tunnels.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -277,14 +274,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.magic_transit.ipsec_tunnels.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tunnel_identifier` but received ''"):
client.magic_transit.ipsec_tunnels.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -614,7 +609,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
ipsec_tunnel = await async_client.magic_transit.ipsec_tunnels.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(IPSECTunnelDeleteResponse, ipsec_tunnel, path=["response"])
@@ -624,7 +618,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.magic_transit.ipsec_tunnels.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -638,7 +631,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.magic_transit.ipsec_tunnels.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -655,14 +647,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.magic_transit.ipsec_tunnels.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tunnel_identifier` but received ''"):
await async_client.magic_transit.ipsec_tunnels.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/magic_transit/test_routes.py b/tests/api_resources/magic_transit/test_routes.py
index f6d14e34638..3f1367e9d59 100644
--- a/tests/api_resources/magic_transit/test_routes.py
+++ b/tests/api_resources/magic_transit/test_routes.py
@@ -201,7 +201,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
route = client.magic_transit.routes.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(RouteDeleteResponse, route, path=["response"])
@@ -211,7 +210,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.magic_transit.routes.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -225,7 +223,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.magic_transit.routes.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -242,14 +239,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.magic_transit.routes.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `route_identifier` but received ''"):
client.magic_transit.routes.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -257,7 +252,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
def test_method_empty(self, client: Cloudflare) -> None:
route = client.magic_transit.routes.empty(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- routes=[{}, {}, {}],
)
assert_matches_type(RouteEmptyResponse, route, path=["response"])
@@ -266,7 +260,6 @@ def test_method_empty(self, client: Cloudflare) -> None:
def test_raw_response_empty(self, client: Cloudflare) -> None:
response = client.magic_transit.routes.with_raw_response.empty(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- routes=[{}, {}, {}],
)
assert response.is_closed is True
@@ -279,7 +272,6 @@ def test_raw_response_empty(self, client: Cloudflare) -> None:
def test_streaming_response_empty(self, client: Cloudflare) -> None:
with client.magic_transit.routes.with_streaming_response.empty(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- routes=[{}, {}, {}],
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -295,7 +287,6 @@ def test_path_params_empty(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
client.magic_transit.routes.with_raw_response.empty(
account_id="",
- routes=[{}, {}, {}],
)
@pytest.mark.skip()
@@ -533,7 +524,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
route = await async_client.magic_transit.routes.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(RouteDeleteResponse, route, path=["response"])
@@ -543,7 +533,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.magic_transit.routes.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -557,7 +546,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.magic_transit.routes.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -574,14 +562,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.magic_transit.routes.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `route_identifier` but received ''"):
await async_client.magic_transit.routes.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -589,7 +575,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
async def test_method_empty(self, async_client: AsyncCloudflare) -> None:
route = await async_client.magic_transit.routes.empty(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- routes=[{}, {}, {}],
)
assert_matches_type(RouteEmptyResponse, route, path=["response"])
@@ -598,7 +583,6 @@ async def test_method_empty(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_empty(self, async_client: AsyncCloudflare) -> None:
response = await async_client.magic_transit.routes.with_raw_response.empty(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- routes=[{}, {}, {}],
)
assert response.is_closed is True
@@ -611,7 +595,6 @@ async def test_raw_response_empty(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_empty(self, async_client: AsyncCloudflare) -> None:
async with async_client.magic_transit.routes.with_streaming_response.empty(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- routes=[{}, {}, {}],
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -627,7 +610,6 @@ async def test_path_params_empty(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
await async_client.magic_transit.routes.with_raw_response.empty(
account_id="",
- routes=[{}, {}, {}],
)
@pytest.mark.skip()
diff --git a/tests/api_resources/magic_transit/test_sites.py b/tests/api_resources/magic_transit/test_sites.py
index 95204348147..baa96657251 100644
--- a/tests/api_resources/magic_transit/test_sites.py
+++ b/tests/api_resources/magic_transit/test_sites.py
@@ -207,7 +207,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
site = client.magic_transit.sites.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Site, site, path=["response"])
@@ -217,7 +216,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.magic_transit.sites.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -231,7 +229,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.magic_transit.sites.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -248,14 +245,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.magic_transit.sites.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `site_id` but received ''"):
client.magic_transit.sites.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -503,7 +498,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
site = await async_client.magic_transit.sites.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Site, site, path=["response"])
@@ -513,7 +507,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.magic_transit.sites.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -527,7 +520,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.magic_transit.sites.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -544,14 +536,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.magic_transit.sites.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `site_id` but received ''"):
await async_client.magic_transit.sites.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/origin_tls_client_auth/hostnames/test_certificates.py b/tests/api_resources/origin_tls_client_auth/hostnames/test_certificates.py
index 70cc49a745d..32e4e360ccb 100644
--- a/tests/api_resources/origin_tls_client_auth/hostnames/test_certificates.py
+++ b/tests/api_resources/origin_tls_client_auth/hostnames/test_certificates.py
@@ -119,7 +119,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
certificate = client.origin_tls_client_auth.hostnames.certificates.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(CertificateDeleteResponse, certificate, path=["response"])
@@ -129,7 +128,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.origin_tls_client_auth.hostnames.certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -143,7 +141,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -160,14 +157,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.origin_tls_client_auth.hostnames.certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_id` but received ''"):
client.origin_tls_client_auth.hostnames.certificates.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -324,7 +319,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
certificate = await async_client.origin_tls_client_auth.hostnames.certificates.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(CertificateDeleteResponse, certificate, path=["response"])
@@ -334,7 +328,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.origin_tls_client_auth.hostnames.certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -348,7 +341,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.origin_tls_client_auth.hostnames.certificates.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -365,14 +357,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.origin_tls_client_auth.hostnames.certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_id` but received ''"):
await async_client.origin_tls_client_auth.hostnames.certificates.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/pages/projects/test_deployments.py b/tests/api_resources/pages/projects/test_deployments.py
index 028df3f39b9..1cf71ed0b0b 100644
--- a/tests/api_resources/pages/projects/test_deployments.py
+++ b/tests/api_resources/pages/projects/test_deployments.py
@@ -149,7 +149,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
)
assert_matches_type(object, deployment, path=["response"])
@@ -160,7 +159,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
)
assert response.is_closed is True
@@ -175,7 +173,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -193,7 +190,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
project_name="this-is-my-project-01",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `project_name` but received ''"):
@@ -201,7 +197,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `deployment_id` but received ''"):
@@ -209,7 +204,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
)
@pytest.mark.skip()
@@ -551,7 +545,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
)
assert_matches_type(object, deployment, path=["response"])
@@ -562,7 +555,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
)
assert response.is_closed is True
@@ -577,7 +569,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -595,7 +586,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
project_name="this-is-my-project-01",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `project_name` but received ''"):
@@ -603,7 +593,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `deployment_id` but received ''"):
@@ -611,7 +600,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/pages/projects/test_domains.py b/tests/api_resources/pages/projects/test_domains.py
index 2d52464334a..30cebab2a0e 100644
--- a/tests/api_resources/pages/projects/test_domains.py
+++ b/tests/api_resources/pages/projects/test_domains.py
@@ -136,7 +136,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"this-is-my-domain-01.com",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
)
assert_matches_type(object, domain, path=["response"])
@@ -147,7 +146,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"this-is-my-domain-01.com",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
)
assert response.is_closed is True
@@ -162,7 +160,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"this-is-my-domain-01.com",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -180,7 +177,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"this-is-my-domain-01.com",
account_id="",
project_name="this-is-my-project-01",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `project_name` but received ''"):
@@ -188,7 +184,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"this-is-my-domain-01.com",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `domain_name` but received ''"):
@@ -196,7 +191,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
)
@pytest.mark.skip()
@@ -453,7 +447,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"this-is-my-domain-01.com",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
)
assert_matches_type(object, domain, path=["response"])
@@ -464,7 +457,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"this-is-my-domain-01.com",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
)
assert response.is_closed is True
@@ -479,7 +471,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"this-is-my-domain-01.com",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -497,7 +488,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"this-is-my-domain-01.com",
account_id="",
project_name="this-is-my-project-01",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `project_name` but received ''"):
@@ -505,7 +495,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"this-is-my-domain-01.com",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `domain_name` but received ''"):
@@ -513,7 +502,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
project_name="this-is-my-project-01",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/pages/test_projects.py b/tests/api_resources/pages/test_projects.py
index b21809e1159..7d8f6452054 100644
--- a/tests/api_resources/pages/test_projects.py
+++ b/tests/api_resources/pages/test_projects.py
@@ -192,7 +192,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
project = client.pages.projects.delete(
"this-is-my-project-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(object, project, path=["response"])
@@ -202,7 +201,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.pages.projects.with_raw_response.delete(
"this-is-my-project-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -216,7 +214,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.pages.projects.with_streaming_response.delete(
"this-is-my-project-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -233,14 +230,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.pages.projects.with_raw_response.delete(
"this-is-my-project-01",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `project_name` but received ''"):
client.pages.projects.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -653,7 +648,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
project = await async_client.pages.projects.delete(
"this-is-my-project-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(object, project, path=["response"])
@@ -663,7 +657,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.pages.projects.with_raw_response.delete(
"this-is-my-project-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -677,7 +670,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.pages.projects.with_streaming_response.delete(
"this-is-my-project-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -694,14 +686,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.pages.projects.with_raw_response.delete(
"this-is-my-project-01",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `project_name` but received ''"):
await async_client.pages.projects.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/queues/test_consumers.py b/tests/api_resources/queues/test_consumers.py
index 34cfa593ec9..e67677f4e3d 100644
--- a/tests/api_resources/queues/test_consumers.py
+++ b/tests/api_resources/queues/test_consumers.py
@@ -234,7 +234,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
queue_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"])
@@ -245,7 +244,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
queue_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -260,7 +258,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
queue_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -278,7 +275,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
queue_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_id` but received ''"):
@@ -286,7 +282,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
queue_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `consumer_id` but received ''"):
@@ -294,7 +289,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
queue_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -567,7 +561,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
queue_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[ConsumerDeleteResponse], consumer, path=["response"])
@@ -578,7 +571,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
queue_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -593,7 +585,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
queue_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -611,7 +602,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
queue_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_id` but received ''"):
@@ -619,7 +609,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
queue_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `consumer_id` but received ''"):
@@ -627,7 +616,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
queue_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/rules/lists/test_items.py b/tests/api_resources/rules/lists/test_items.py
index 7b5888b8e83..95eca32547f 100644
--- a/tests/api_resources/rules/lists/test_items.py
+++ b/tests/api_resources/rules/lists/test_items.py
@@ -208,16 +208,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
)
assert_matches_type(Optional[ItemDeleteResponse], item, path=["response"])
- @pytest.mark.skip()
- @parametrize
- def test_method_delete_with_all_params(self, client: Cloudflare) -> None:
- item = client.rules.lists.items.delete(
- "2c0fc9fa937b11eaa1b71c4d701ab86e",
- account_id="023e105f4ecef8ad9ca31a8372d0c353",
- items=[{"id": "34b12448945f11eaa1b71c4d701ab86e"}],
- )
- assert_matches_type(Optional[ItemDeleteResponse], item, path=["response"])
-
@pytest.mark.skip()
@parametrize
def test_raw_response_delete(self, client: Cloudflare) -> None:
@@ -516,16 +506,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
)
assert_matches_type(Optional[ItemDeleteResponse], item, path=["response"])
- @pytest.mark.skip()
- @parametrize
- async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare) -> None:
- item = await async_client.rules.lists.items.delete(
- "2c0fc9fa937b11eaa1b71c4d701ab86e",
- account_id="023e105f4ecef8ad9ca31a8372d0c353",
- items=[{"id": "34b12448945f11eaa1b71c4d701ab86e"}],
- )
- assert_matches_type(Optional[ItemDeleteResponse], item, path=["response"])
-
@pytest.mark.skip()
@parametrize
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
diff --git a/tests/api_resources/rules/test_lists.py b/tests/api_resources/rules/test_lists.py
index 928a53d89c3..3c8c0681de9 100644
--- a/tests/api_resources/rules/test_lists.py
+++ b/tests/api_resources/rules/test_lists.py
@@ -190,7 +190,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
list = client.rules.lists.delete(
"2c0fc9fa937b11eaa1b71c4d701ab86e",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[ListDeleteResponse], list, path=["response"])
@@ -200,7 +199,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.rules.lists.with_raw_response.delete(
"2c0fc9fa937b11eaa1b71c4d701ab86e",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -214,7 +212,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.rules.lists.with_streaming_response.delete(
"2c0fc9fa937b11eaa1b71c4d701ab86e",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -231,14 +228,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.rules.lists.with_raw_response.delete(
"2c0fc9fa937b11eaa1b71c4d701ab86e",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
client.rules.lists.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -468,7 +463,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
list = await async_client.rules.lists.delete(
"2c0fc9fa937b11eaa1b71c4d701ab86e",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[ListDeleteResponse], list, path=["response"])
@@ -478,7 +472,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.rules.lists.with_raw_response.delete(
"2c0fc9fa937b11eaa1b71c4d701ab86e",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -492,7 +485,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.rules.lists.with_streaming_response.delete(
"2c0fc9fa937b11eaa1b71c4d701ab86e",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -509,14 +501,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.rules.lists.with_raw_response.delete(
"2c0fc9fa937b11eaa1b71c4d701ab86e",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
await async_client.rules.lists.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/secondary_dns/test_acls.py b/tests/api_resources/secondary_dns/test_acls.py
index 3ad485b79c3..53923f6ed76 100644
--- a/tests/api_resources/secondary_dns/test_acls.py
+++ b/tests/api_resources/secondary_dns/test_acls.py
@@ -175,7 +175,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
acl = client.secondary_dns.acls.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
assert_matches_type(Optional[ACLDeleteResponse], acl, path=["response"])
@@ -185,7 +184,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.secondary_dns.acls.with_raw_response.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
assert response.is_closed is True
@@ -199,7 +197,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.secondary_dns.acls.with_streaming_response.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -216,14 +213,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.secondary_dns.acls.with_raw_response.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `acl_id` but received ''"):
client.secondary_dns.acls.with_raw_response.delete(
"",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
@pytest.mark.skip()
@@ -438,7 +433,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
acl = await async_client.secondary_dns.acls.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
assert_matches_type(Optional[ACLDeleteResponse], acl, path=["response"])
@@ -448,7 +442,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.secondary_dns.acls.with_raw_response.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
assert response.is_closed is True
@@ -462,7 +455,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.secondary_dns.acls.with_streaming_response.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -479,14 +471,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.secondary_dns.acls.with_raw_response.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `acl_id` but received ''"):
await async_client.secondary_dns.acls.with_raw_response.delete(
"",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/secondary_dns/test_incoming.py b/tests/api_resources/secondary_dns/test_incoming.py
index 849ca7e321a..391b0c2e94e 100644
--- a/tests/api_resources/secondary_dns/test_incoming.py
+++ b/tests/api_resources/secondary_dns/test_incoming.py
@@ -133,7 +133,6 @@ def test_path_params_update(self, client: Cloudflare) -> None:
def test_method_delete(self, client: Cloudflare) -> None:
incoming = client.secondary_dns.incoming.delete(
zone_id="269d8f4853475ca241c4e730be286b20",
- body={},
)
assert_matches_type(Optional[IncomingDeleteResponse], incoming, path=["response"])
@@ -142,7 +141,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.secondary_dns.incoming.with_raw_response.delete(
zone_id="269d8f4853475ca241c4e730be286b20",
- body={},
)
assert response.is_closed is True
@@ -155,7 +153,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.secondary_dns.incoming.with_streaming_response.delete(
zone_id="269d8f4853475ca241c4e730be286b20",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -171,7 +168,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
client.secondary_dns.incoming.with_raw_response.delete(
zone_id="",
- body={},
)
@pytest.mark.skip()
@@ -333,7 +329,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
incoming = await async_client.secondary_dns.incoming.delete(
zone_id="269d8f4853475ca241c4e730be286b20",
- body={},
)
assert_matches_type(Optional[IncomingDeleteResponse], incoming, path=["response"])
@@ -342,7 +337,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.secondary_dns.incoming.with_raw_response.delete(
zone_id="269d8f4853475ca241c4e730be286b20",
- body={},
)
assert response.is_closed is True
@@ -355,7 +349,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.secondary_dns.incoming.with_streaming_response.delete(
zone_id="269d8f4853475ca241c4e730be286b20",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -371,7 +364,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
await async_client.secondary_dns.incoming.with_raw_response.delete(
zone_id="",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/secondary_dns/test_outgoing.py b/tests/api_resources/secondary_dns/test_outgoing.py
index 161b2a57386..4180dcd00c2 100644
--- a/tests/api_resources/secondary_dns/test_outgoing.py
+++ b/tests/api_resources/secondary_dns/test_outgoing.py
@@ -125,7 +125,6 @@ def test_path_params_update(self, client: Cloudflare) -> None:
def test_method_delete(self, client: Cloudflare) -> None:
outgoing = client.secondary_dns.outgoing.delete(
zone_id="269d8f4853475ca241c4e730be286b20",
- body={},
)
assert_matches_type(Optional[OutgoingDeleteResponse], outgoing, path=["response"])
@@ -134,7 +133,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.secondary_dns.outgoing.with_raw_response.delete(
zone_id="269d8f4853475ca241c4e730be286b20",
- body={},
)
assert response.is_closed is True
@@ -147,7 +145,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.secondary_dns.outgoing.with_streaming_response.delete(
zone_id="269d8f4853475ca241c4e730be286b20",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -163,7 +160,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
client.secondary_dns.outgoing.with_raw_response.delete(
zone_id="",
- body={},
)
@pytest.mark.skip()
@@ -455,7 +451,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
outgoing = await async_client.secondary_dns.outgoing.delete(
zone_id="269d8f4853475ca241c4e730be286b20",
- body={},
)
assert_matches_type(Optional[OutgoingDeleteResponse], outgoing, path=["response"])
@@ -464,7 +459,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.secondary_dns.outgoing.with_raw_response.delete(
zone_id="269d8f4853475ca241c4e730be286b20",
- body={},
)
assert response.is_closed is True
@@ -477,7 +471,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.secondary_dns.outgoing.with_streaming_response.delete(
zone_id="269d8f4853475ca241c4e730be286b20",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -493,7 +486,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
await async_client.secondary_dns.outgoing.with_raw_response.delete(
zone_id="",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/secondary_dns/test_peers.py b/tests/api_resources/secondary_dns/test_peers.py
index 5b42901b1a2..01934188f45 100644
--- a/tests/api_resources/secondary_dns/test_peers.py
+++ b/tests/api_resources/secondary_dns/test_peers.py
@@ -184,7 +184,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
peer = client.secondary_dns.peers.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
assert_matches_type(Optional[PeerDeleteResponse], peer, path=["response"])
@@ -194,7 +193,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.secondary_dns.peers.with_raw_response.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
assert response.is_closed is True
@@ -208,7 +206,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.secondary_dns.peers.with_streaming_response.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -225,14 +222,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.secondary_dns.peers.with_raw_response.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `peer_id` but received ''"):
client.secondary_dns.peers.with_raw_response.delete(
"",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
@pytest.mark.skip()
@@ -456,7 +451,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
peer = await async_client.secondary_dns.peers.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
assert_matches_type(Optional[PeerDeleteResponse], peer, path=["response"])
@@ -466,7 +460,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.secondary_dns.peers.with_raw_response.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
assert response.is_closed is True
@@ -480,7 +473,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.secondary_dns.peers.with_streaming_response.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -497,14 +489,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.secondary_dns.peers.with_raw_response.delete(
"23ff594956f20c2a721606e94745a8aa",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `peer_id` but received ''"):
await async_client.secondary_dns.peers.with_raw_response.delete(
"",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/secondary_dns/test_tsigs.py b/tests/api_resources/secondary_dns/test_tsigs.py
index 95e6828e389..591a81ce9df 100644
--- a/tests/api_resources/secondary_dns/test_tsigs.py
+++ b/tests/api_resources/secondary_dns/test_tsigs.py
@@ -188,7 +188,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
tsig = client.secondary_dns.tsigs.delete(
"69cd1e104af3e6ed3cb344f263fd0d5a",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
assert_matches_type(Optional[TSIGDeleteResponse], tsig, path=["response"])
@@ -198,7 +197,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.secondary_dns.tsigs.with_raw_response.delete(
"69cd1e104af3e6ed3cb344f263fd0d5a",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
assert response.is_closed is True
@@ -212,7 +210,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.secondary_dns.tsigs.with_streaming_response.delete(
"69cd1e104af3e6ed3cb344f263fd0d5a",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -229,14 +226,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.secondary_dns.tsigs.with_raw_response.delete(
"69cd1e104af3e6ed3cb344f263fd0d5a",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tsig_id` but received ''"):
client.secondary_dns.tsigs.with_raw_response.delete(
"",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
@pytest.mark.skip()
@@ -464,7 +459,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
tsig = await async_client.secondary_dns.tsigs.delete(
"69cd1e104af3e6ed3cb344f263fd0d5a",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
assert_matches_type(Optional[TSIGDeleteResponse], tsig, path=["response"])
@@ -474,7 +468,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.secondary_dns.tsigs.with_raw_response.delete(
"69cd1e104af3e6ed3cb344f263fd0d5a",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
assert response.is_closed is True
@@ -488,7 +481,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.secondary_dns.tsigs.with_streaming_response.delete(
"69cd1e104af3e6ed3cb344f263fd0d5a",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -505,14 +497,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.secondary_dns.tsigs.with_raw_response.delete(
"69cd1e104af3e6ed3cb344f263fd0d5a",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tsig_id` but received ''"):
await async_client.secondary_dns.tsigs.with_raw_response.delete(
"",
account_id="01a7362d577a6c3019a474fd6f485823",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/spectrum/test_apps.py b/tests/api_resources/spectrum/test_apps.py
index ebd8c1e2746..8b517b11e62 100644
--- a/tests/api_resources/spectrum/test_apps.py
+++ b/tests/api_resources/spectrum/test_apps.py
@@ -268,7 +268,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
app = client.spectrum.apps.delete(
"ea95132c15732412d22c1476fa83f27a",
zone="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[AppDeleteResponse], app, path=["response"])
@@ -278,7 +277,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.spectrum.apps.with_raw_response.delete(
"ea95132c15732412d22c1476fa83f27a",
zone="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -292,7 +290,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.spectrum.apps.with_streaming_response.delete(
"ea95132c15732412d22c1476fa83f27a",
zone="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -309,14 +306,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.spectrum.apps.with_raw_response.delete(
"ea95132c15732412d22c1476fa83f27a",
zone="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `app_id` but received ''"):
client.spectrum.apps.with_raw_response.delete(
"",
zone="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -622,7 +617,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
app = await async_client.spectrum.apps.delete(
"ea95132c15732412d22c1476fa83f27a",
zone="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[AppDeleteResponse], app, path=["response"])
@@ -632,7 +626,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.spectrum.apps.with_raw_response.delete(
"ea95132c15732412d22c1476fa83f27a",
zone="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -646,7 +639,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.spectrum.apps.with_streaming_response.delete(
"ea95132c15732412d22c1476fa83f27a",
zone="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -663,14 +655,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.spectrum.apps.with_raw_response.delete(
"ea95132c15732412d22c1476fa83f27a",
zone="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `app_id` but received ''"):
await async_client.spectrum.apps.with_raw_response.delete(
"",
zone="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/ssl/test_certificate_packs.py b/tests/api_resources/ssl/test_certificate_packs.py
index ae9070a08c5..72ec41cc531 100644
--- a/tests/api_resources/ssl/test_certificate_packs.py
+++ b/tests/api_resources/ssl/test_certificate_packs.py
@@ -77,7 +77,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
certificate_pack = client.ssl.certificate_packs.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"])
@@ -87,7 +86,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.ssl.certificate_packs.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -101,7 +99,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.ssl.certificate_packs.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -118,14 +115,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.ssl.certificate_packs.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_pack_id` but received ''"):
client.ssl.certificate_packs.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -298,7 +293,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
certificate_pack = await async_client.ssl.certificate_packs.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(CertificatePackDeleteResponse, certificate_pack, path=["response"])
@@ -308,7 +302,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.ssl.certificate_packs.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -322,7 +315,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.ssl.certificate_packs.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -339,14 +331,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.ssl.certificate_packs.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_pack_id` but received ''"):
await async_client.ssl.certificate_packs.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/stream/captions/test_language.py b/tests/api_resources/stream/captions/test_language.py
index 21ca8abb7f0..1d26981efb8 100644
--- a/tests/api_resources/stream/captions/test_language.py
+++ b/tests/api_resources/stream/captions/test_language.py
@@ -94,7 +94,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"tr",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
identifier="ea95132c15732412d22c1476fa83f27a",
- body={},
)
assert_matches_type(str, language, path=["response"])
@@ -105,7 +104,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"tr",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
identifier="ea95132c15732412d22c1476fa83f27a",
- body={},
)
assert response.is_closed is True
@@ -120,7 +118,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"tr",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
identifier="ea95132c15732412d22c1476fa83f27a",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -138,7 +135,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"tr",
account_id="",
identifier="ea95132c15732412d22c1476fa83f27a",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):
@@ -146,7 +142,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"tr",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `language` but received ''"):
@@ -154,7 +149,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
identifier="ea95132c15732412d22c1476fa83f27a",
- body={},
)
@pytest.mark.skip()
@@ -302,7 +296,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"tr",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
identifier="ea95132c15732412d22c1476fa83f27a",
- body={},
)
assert_matches_type(str, language, path=["response"])
@@ -313,7 +306,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"tr",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
identifier="ea95132c15732412d22c1476fa83f27a",
- body={},
)
assert response.is_closed is True
@@ -328,7 +320,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"tr",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
identifier="ea95132c15732412d22c1476fa83f27a",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -346,7 +337,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"tr",
account_id="",
identifier="ea95132c15732412d22c1476fa83f27a",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):
@@ -354,7 +344,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"tr",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `language` but received ''"):
@@ -362,7 +351,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
identifier="ea95132c15732412d22c1476fa83f27a",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/stream/live_inputs/test_outputs.py b/tests/api_resources/stream/live_inputs/test_outputs.py
index c65c0428bdf..e8a83c84b65 100644
--- a/tests/api_resources/stream/live_inputs/test_outputs.py
+++ b/tests/api_resources/stream/live_inputs/test_outputs.py
@@ -221,7 +221,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"baea4d9c515887b80289d5c33cf01145",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
live_input_identifier="66be4bf738797e01e1fca35a7bdecdcd",
- body={},
)
assert output is None
@@ -232,7 +231,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"baea4d9c515887b80289d5c33cf01145",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
live_input_identifier="66be4bf738797e01e1fca35a7bdecdcd",
- body={},
)
assert response.is_closed is True
@@ -247,7 +245,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"baea4d9c515887b80289d5c33cf01145",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
live_input_identifier="66be4bf738797e01e1fca35a7bdecdcd",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -265,7 +262,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"baea4d9c515887b80289d5c33cf01145",
account_id="",
live_input_identifier="66be4bf738797e01e1fca35a7bdecdcd",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `live_input_identifier` but received ''"):
@@ -273,7 +269,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"baea4d9c515887b80289d5c33cf01145",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
live_input_identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `output_identifier` but received ''"):
@@ -281,7 +276,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
live_input_identifier="66be4bf738797e01e1fca35a7bdecdcd",
- body={},
)
@@ -491,7 +485,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"baea4d9c515887b80289d5c33cf01145",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
live_input_identifier="66be4bf738797e01e1fca35a7bdecdcd",
- body={},
)
assert output is None
@@ -502,7 +495,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"baea4d9c515887b80289d5c33cf01145",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
live_input_identifier="66be4bf738797e01e1fca35a7bdecdcd",
- body={},
)
assert response.is_closed is True
@@ -517,7 +509,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"baea4d9c515887b80289d5c33cf01145",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
live_input_identifier="66be4bf738797e01e1fca35a7bdecdcd",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -535,7 +526,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"baea4d9c515887b80289d5c33cf01145",
account_id="",
live_input_identifier="66be4bf738797e01e1fca35a7bdecdcd",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `live_input_identifier` but received ''"):
@@ -543,7 +533,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"baea4d9c515887b80289d5c33cf01145",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
live_input_identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `output_identifier` but received ''"):
@@ -551,5 +540,4 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
live_input_identifier="66be4bf738797e01e1fca35a7bdecdcd",
- body={},
)
diff --git a/tests/api_resources/stream/test_keys.py b/tests/api_resources/stream/test_keys.py
index ceaa98aa080..a67b76d8eb3 100644
--- a/tests/api_resources/stream/test_keys.py
+++ b/tests/api_resources/stream/test_keys.py
@@ -71,7 +71,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
key = client.stream.keys.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[KeyDeleteResponse], key, path=["response"])
@@ -81,7 +80,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.stream.keys.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -95,7 +93,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.stream.keys.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -112,14 +109,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.stream.keys.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):
client.stream.keys.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -220,7 +215,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
key = await async_client.stream.keys.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[KeyDeleteResponse], key, path=["response"])
@@ -230,7 +224,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.stream.keys.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -244,7 +237,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.stream.keys.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -261,14 +253,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.stream.keys.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):
await async_client.stream.keys.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/stream/test_live_inputs.py b/tests/api_resources/stream/test_live_inputs.py
index 9b3f0b4e00b..279b0d38034 100644
--- a/tests/api_resources/stream/test_live_inputs.py
+++ b/tests/api_resources/stream/test_live_inputs.py
@@ -204,7 +204,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
live_input = client.stream.live_inputs.delete(
"66be4bf738797e01e1fca35a7bdecdcd",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert live_input is None
@@ -214,7 +213,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.stream.live_inputs.with_raw_response.delete(
"66be4bf738797e01e1fca35a7bdecdcd",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -228,7 +226,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.stream.live_inputs.with_streaming_response.delete(
"66be4bf738797e01e1fca35a7bdecdcd",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -245,14 +242,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.stream.live_inputs.with_raw_response.delete(
"66be4bf738797e01e1fca35a7bdecdcd",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `live_input_identifier` but received ''"):
client.stream.live_inputs.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -497,7 +492,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
live_input = await async_client.stream.live_inputs.delete(
"66be4bf738797e01e1fca35a7bdecdcd",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert live_input is None
@@ -507,7 +501,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.stream.live_inputs.with_raw_response.delete(
"66be4bf738797e01e1fca35a7bdecdcd",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -521,7 +514,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.stream.live_inputs.with_streaming_response.delete(
"66be4bf738797e01e1fca35a7bdecdcd",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -538,14 +530,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.stream.live_inputs.with_raw_response.delete(
"66be4bf738797e01e1fca35a7bdecdcd",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `live_input_identifier` but received ''"):
await async_client.stream.live_inputs.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/stream/test_watermarks.py b/tests/api_resources/stream/test_watermarks.py
index 98dda7d2eea..6cca260b1c6 100644
--- a/tests/api_resources/stream/test_watermarks.py
+++ b/tests/api_resources/stream/test_watermarks.py
@@ -127,7 +127,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
watermark = client.stream.watermarks.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[WatermarkDeleteResponse], watermark, path=["response"])
@@ -137,7 +136,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.stream.watermarks.with_raw_response.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -151,7 +149,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.stream.watermarks.with_streaming_response.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -168,14 +165,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.stream.watermarks.with_raw_response.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):
client.stream.watermarks.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -342,7 +337,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
watermark = await async_client.stream.watermarks.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[WatermarkDeleteResponse], watermark, path=["response"])
@@ -352,7 +346,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.stream.watermarks.with_raw_response.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -366,7 +359,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.stream.watermarks.with_streaming_response.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -383,14 +375,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.stream.watermarks.with_raw_response.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):
await async_client.stream.watermarks.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/stream/test_webhooks.py b/tests/api_resources/stream/test_webhooks.py
index 1d12486dc4d..86a5a77b18b 100644
--- a/tests/api_resources/stream/test_webhooks.py
+++ b/tests/api_resources/stream/test_webhooks.py
@@ -70,7 +70,6 @@ def test_path_params_update(self, client: Cloudflare) -> None:
def test_method_delete(self, client: Cloudflare) -> None:
webhook = client.stream.webhooks.delete(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"])
@@ -79,7 +78,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.stream.webhooks.with_raw_response.delete(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -92,7 +90,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.stream.webhooks.with_streaming_response.delete(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -108,7 +105,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
client.stream.webhooks.with_raw_response.delete(
account_id="",
- body={},
)
@pytest.mark.skip()
@@ -208,7 +204,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
webhook = await async_client.stream.webhooks.delete(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[WebhookDeleteResponse], webhook, path=["response"])
@@ -217,7 +212,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.stream.webhooks.with_raw_response.delete(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -230,7 +224,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.stream.webhooks.with_streaming_response.delete(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -246,7 +239,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `account_id` but received ''"):
await async_client.stream.webhooks.with_raw_response.delete(
account_id="",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_custom_certificates.py b/tests/api_resources/test_custom_certificates.py
index a8344aafafc..bbe8796dca9 100644
--- a/tests/api_resources/test_custom_certificates.py
+++ b/tests/api_resources/test_custom_certificates.py
@@ -146,7 +146,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
custom_certificate = client.custom_certificates.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"])
@@ -156,7 +155,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.custom_certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -170,7 +168,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.custom_certificates.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -187,14 +184,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.custom_certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `custom_certificate_id` but received ''"):
client.custom_certificates.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -443,7 +438,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
custom_certificate = await async_client.custom_certificates.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(CustomCertificateDeleteResponse, custom_certificate, path=["response"])
@@ -453,7 +447,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.custom_certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -467,7 +460,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.custom_certificates.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -484,14 +476,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.custom_certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `custom_certificate_id` but received ''"):
await async_client.custom_certificates.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_custom_hostnames.py b/tests/api_resources/test_custom_hostnames.py
index 57e45edfece..26d78503328 100644
--- a/tests/api_resources/test_custom_hostnames.py
+++ b/tests/api_resources/test_custom_hostnames.py
@@ -163,7 +163,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
custom_hostname = client.custom_hostnames.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"])
@@ -173,7 +172,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.custom_hostnames.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -187,7 +185,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.custom_hostnames.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -204,14 +201,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.custom_hostnames.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `custom_hostname_id` but received ''"):
client.custom_hostnames.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -491,7 +486,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
custom_hostname = await async_client.custom_hostnames.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(CustomHostnameDeleteResponse, custom_hostname, path=["response"])
@@ -501,7 +495,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.custom_hostnames.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -515,7 +508,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.custom_hostnames.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -532,14 +524,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.custom_hostnames.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `custom_hostname_id` but received ''"):
await async_client.custom_hostnames.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_custom_nameservers.py b/tests/api_resources/test_custom_nameservers.py
index 02602c51933..5c61e2afad5 100644
--- a/tests/api_resources/test_custom_nameservers.py
+++ b/tests/api_resources/test_custom_nameservers.py
@@ -85,7 +85,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
custom_nameserver = client.custom_nameservers.delete(
"ns1.example.com",
account_id="372e67954025e0ba6aaa6d586b9e0b59",
- body={},
)
assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"])
@@ -95,7 +94,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.custom_nameservers.with_raw_response.delete(
"ns1.example.com",
account_id="372e67954025e0ba6aaa6d586b9e0b59",
- body={},
)
assert response.is_closed is True
@@ -109,7 +107,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.custom_nameservers.with_streaming_response.delete(
"ns1.example.com",
account_id="372e67954025e0ba6aaa6d586b9e0b59",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -126,14 +123,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.custom_nameservers.with_raw_response.delete(
"ns1.example.com",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `custom_ns_id` but received ''"):
client.custom_nameservers.with_raw_response.delete(
"",
account_id="372e67954025e0ba6aaa6d586b9e0b59",
- body={},
)
@pytest.mark.skip()
@@ -332,7 +327,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
custom_nameserver = await async_client.custom_nameservers.delete(
"ns1.example.com",
account_id="372e67954025e0ba6aaa6d586b9e0b59",
- body={},
)
assert_matches_type(Optional[CustomNameserverDeleteResponse], custom_nameserver, path=["response"])
@@ -342,7 +336,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.custom_nameservers.with_raw_response.delete(
"ns1.example.com",
account_id="372e67954025e0ba6aaa6d586b9e0b59",
- body={},
)
assert response.is_closed is True
@@ -356,7 +349,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.custom_nameservers.with_streaming_response.delete(
"ns1.example.com",
account_id="372e67954025e0ba6aaa6d586b9e0b59",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -373,14 +365,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.custom_nameservers.with_raw_response.delete(
"ns1.example.com",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `custom_ns_id` but received ''"):
await async_client.custom_nameservers.with_raw_response.delete(
"",
account_id="372e67954025e0ba6aaa6d586b9e0b59",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_dnssec.py b/tests/api_resources/test_dnssec.py
index 6d2766683d3..57cb912fcce 100644
--- a/tests/api_resources/test_dnssec.py
+++ b/tests/api_resources/test_dnssec.py
@@ -23,7 +23,6 @@ class TestDNSSEC:
def test_method_delete(self, client: Cloudflare) -> None:
dnssec = client.dnssec.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[DNSSECDeleteResponse], dnssec, path=["response"])
@@ -32,7 +31,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.dnssec.with_raw_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -45,7 +43,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.dnssec.with_streaming_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -61,7 +58,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
client.dnssec.with_raw_response.delete(
zone_id="",
- body={},
)
@pytest.mark.skip()
@@ -168,7 +164,6 @@ class TestAsyncDNSSEC:
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
dnssec = await async_client.dnssec.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[DNSSECDeleteResponse], dnssec, path=["response"])
@@ -177,7 +172,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.dnssec.with_raw_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -190,7 +184,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.dnssec.with_streaming_response.delete(
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -206,7 +199,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `zone_id` but received ''"):
await async_client.dnssec.with_raw_response.delete(
zone_id="",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_filters.py b/tests/api_resources/test_filters.py
index bea75db8e20..cef22abc61b 100644
--- a/tests/api_resources/test_filters.py
+++ b/tests/api_resources/test_filters.py
@@ -185,7 +185,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
filter = client.filters.delete(
"372e67954025e0ba6aaa6d586b9e0b61",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(FirewallFilter, filter, path=["response"])
@@ -195,7 +194,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.filters.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b61",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -209,7 +207,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.filters.with_streaming_response.delete(
"372e67954025e0ba6aaa6d586b9e0b61",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -226,14 +223,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.filters.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b61",
zone_identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
client.filters.with_raw_response.delete(
"",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -458,7 +453,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
filter = await async_client.filters.delete(
"372e67954025e0ba6aaa6d586b9e0b61",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(FirewallFilter, filter, path=["response"])
@@ -468,7 +462,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.filters.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b61",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -482,7 +475,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.filters.with_streaming_response.delete(
"372e67954025e0ba6aaa6d586b9e0b61",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -499,14 +491,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.filters.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b61",
zone_identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
await async_client.filters.with_raw_response.delete(
"",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_healthchecks.py b/tests/api_resources/test_healthchecks.py
index bb7bba49016..2043467f832 100644
--- a/tests/api_resources/test_healthchecks.py
+++ b/tests/api_resources/test_healthchecks.py
@@ -262,7 +262,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
healthcheck = client.healthchecks.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(HealthcheckDeleteResponse, healthcheck, path=["response"])
@@ -272,7 +271,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.healthchecks.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -286,7 +284,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.healthchecks.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -303,14 +300,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.healthchecks.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `healthcheck_id` but received ''"):
client.healthchecks.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -711,7 +706,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
healthcheck = await async_client.healthchecks.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(HealthcheckDeleteResponse, healthcheck, path=["response"])
@@ -721,7 +715,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.healthchecks.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -735,7 +728,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.healthchecks.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -752,14 +744,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.healthchecks.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `healthcheck_id` but received ''"):
await async_client.healthchecks.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_keyless_certificates.py b/tests/api_resources/test_keyless_certificates.py
index 0125ed3cc7a..6e67b85904c 100644
--- a/tests/api_resources/test_keyless_certificates.py
+++ b/tests/api_resources/test_keyless_certificates.py
@@ -138,7 +138,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
keyless_certificate = client.keyless_certificates.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"])
@@ -148,7 +147,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.keyless_certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -162,7 +160,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.keyless_certificates.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -179,7 +176,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.keyless_certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(
@@ -188,7 +184,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.keyless_certificates.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -439,7 +434,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
keyless_certificate = await async_client.keyless_certificates.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(KeylessCertificateDeleteResponse, keyless_certificate, path=["response"])
@@ -449,7 +443,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.keyless_certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -463,7 +456,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.keyless_certificates.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -480,7 +472,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.keyless_certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(
@@ -489,7 +480,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.keyless_certificates.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_load_balancers.py b/tests/api_resources/test_load_balancers.py
index c34be32b75e..75fc59cb622 100644
--- a/tests/api_resources/test_load_balancers.py
+++ b/tests/api_resources/test_load_balancers.py
@@ -686,7 +686,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
load_balancer = client.load_balancers.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(LoadBalancerDeleteResponse, load_balancer, path=["response"])
@@ -696,7 +695,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.load_balancers.with_raw_response.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -710,7 +708,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.load_balancers.with_streaming_response.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -727,14 +724,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.load_balancers.with_raw_response.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `load_balancer_id` but received ''"):
client.load_balancers.with_raw_response.delete(
"",
zone_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -1744,7 +1739,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
load_balancer = await async_client.load_balancers.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(LoadBalancerDeleteResponse, load_balancer, path=["response"])
@@ -1754,7 +1748,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.load_balancers.with_raw_response.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -1768,7 +1761,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.load_balancers.with_streaming_response.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -1785,14 +1777,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.load_balancers.with_raw_response.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `load_balancer_id` but received ''"):
await async_client.load_balancers.with_raw_response.delete(
"",
zone_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_memberships.py b/tests/api_resources/test_memberships.py
index 09458896e93..bf9b976506b 100644
--- a/tests/api_resources/test_memberships.py
+++ b/tests/api_resources/test_memberships.py
@@ -114,7 +114,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None:
def test_method_delete(self, client: Cloudflare) -> None:
membership = client.memberships.delete(
"4536bcfad5faccb111b47003c79917fa",
- body={},
)
assert_matches_type(MembershipDeleteResponse, membership, path=["response"])
@@ -123,7 +122,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.memberships.with_raw_response.delete(
"4536bcfad5faccb111b47003c79917fa",
- body={},
)
assert response.is_closed is True
@@ -136,7 +134,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.memberships.with_streaming_response.delete(
"4536bcfad5faccb111b47003c79917fa",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -152,7 +149,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `membership_id` but received ''"):
client.memberships.with_raw_response.delete(
"",
- body={},
)
@pytest.mark.skip()
@@ -294,7 +290,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
membership = await async_client.memberships.delete(
"4536bcfad5faccb111b47003c79917fa",
- body={},
)
assert_matches_type(MembershipDeleteResponse, membership, path=["response"])
@@ -303,7 +298,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.memberships.with_raw_response.delete(
"4536bcfad5faccb111b47003c79917fa",
- body={},
)
assert response.is_closed is True
@@ -316,7 +310,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.memberships.with_streaming_response.delete(
"4536bcfad5faccb111b47003c79917fa",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -332,7 +325,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `membership_id` but received ''"):
await async_client.memberships.with_raw_response.delete(
"",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_mtls_certificates.py b/tests/api_resources/test_mtls_certificates.py
index 4367b45bac9..dad353d2c3c 100644
--- a/tests/api_resources/test_mtls_certificates.py
+++ b/tests/api_resources/test_mtls_certificates.py
@@ -129,7 +129,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
mtls_certificate = client.mtls_certificates.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"])
@@ -139,7 +138,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.mtls_certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -153,7 +151,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.mtls_certificates.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -170,14 +167,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.mtls_certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `mtls_certificate_id` but received ''"):
client.mtls_certificates.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -346,7 +341,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
mtls_certificate = await async_client.mtls_certificates.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(MTLSCertificate, mtls_certificate, path=["response"])
@@ -356,7 +350,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.mtls_certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -370,7 +363,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.mtls_certificates.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -387,14 +379,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.mtls_certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `mtls_certificate_id` but received ''"):
await async_client.mtls_certificates.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_origin_ca_certificates.py b/tests/api_resources/test_origin_ca_certificates.py
index 1634e513180..040255f4547 100644
--- a/tests/api_resources/test_origin_ca_certificates.py
+++ b/tests/api_resources/test_origin_ca_certificates.py
@@ -105,7 +105,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None:
def test_method_delete(self, client: Cloudflare) -> None:
origin_ca_certificate = client.origin_ca_certificates.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"])
@@ -114,7 +113,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.origin_ca_certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -127,7 +125,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.origin_ca_certificates.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -143,7 +140,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_id` but received ''"):
client.origin_ca_certificates.with_raw_response.delete(
"",
- body={},
)
@pytest.mark.skip()
@@ -272,7 +268,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
origin_ca_certificate = await async_client.origin_ca_certificates.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(OriginCACertificateDeleteResponse, origin_ca_certificate, path=["response"])
@@ -281,7 +276,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.origin_ca_certificates.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -294,7 +288,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.origin_ca_certificates.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -310,7 +303,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_id` but received ''"):
await async_client.origin_ca_certificates.with_raw_response.delete(
"",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_origin_tls_client_auth.py b/tests/api_resources/test_origin_tls_client_auth.py
index 7e98d804bb6..a9c0c5da958 100644
--- a/tests/api_resources/test_origin_tls_client_auth.py
+++ b/tests/api_resources/test_origin_tls_client_auth.py
@@ -123,7 +123,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
origin_tls_client_auth = client.origin_tls_client_auth.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"])
@@ -133,7 +132,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.origin_tls_client_auth.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -147,7 +145,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.origin_tls_client_auth.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -164,14 +161,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.origin_tls_client_auth.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_id` but received ''"):
client.origin_tls_client_auth.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -328,7 +323,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
origin_tls_client_auth = await async_client.origin_tls_client_auth.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(OriginTLSClientAuthDeleteResponse, origin_tls_client_auth, path=["response"])
@@ -338,7 +332,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.origin_tls_client_auth.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -352,7 +345,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.origin_tls_client_auth.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -369,14 +361,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.origin_tls_client_auth.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `certificate_id` but received ''"):
await async_client.origin_tls_client_auth.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_pagerules.py b/tests/api_resources/test_pagerules.py
index 6e18728f43e..5bb44dedc8b 100644
--- a/tests/api_resources/test_pagerules.py
+++ b/tests/api_resources/test_pagerules.py
@@ -323,7 +323,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
pagerule = client.pagerules.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[PageruleDeleteResponse], pagerule, path=["response"])
@@ -333,7 +332,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.pagerules.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -347,7 +345,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.pagerules.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -364,14 +361,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.pagerules.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `pagerule_id` but received ''"):
client.pagerules.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -812,7 +807,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
pagerule = await async_client.pagerules.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[PageruleDeleteResponse], pagerule, path=["response"])
@@ -822,7 +816,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.pagerules.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -836,7 +829,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.pagerules.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -853,14 +845,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.pagerules.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `pagerule_id` but received ''"):
await async_client.pagerules.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_queues.py b/tests/api_resources/test_queues.py
index 6080c4a15dd..67db13d3c13 100644
--- a/tests/api_resources/test_queues.py
+++ b/tests/api_resources/test_queues.py
@@ -172,7 +172,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
queue = client.queues.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"])
@@ -182,7 +181,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.queues.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -196,7 +194,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.queues.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -213,14 +210,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.queues.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_id` but received ''"):
client.queues.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -430,7 +425,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
queue = await async_client.queues.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[QueueDeleteResponse], queue, path=["response"])
@@ -440,7 +434,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.queues.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -454,7 +447,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.queues.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -471,14 +463,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.queues.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `queue_id` but received ''"):
await async_client.queues.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_rate_limits.py b/tests/api_resources/test_rate_limits.py
index 1b462297bb4..c4d37f1f16a 100644
--- a/tests/api_resources/test_rate_limits.py
+++ b/tests/api_resources/test_rate_limits.py
@@ -126,7 +126,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
rate_limit = client.rate_limits.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(RateLimitDeleteResponse, rate_limit, path=["response"])
@@ -136,7 +135,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.rate_limits.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -150,7 +148,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.rate_limits.with_streaming_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -167,14 +164,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.rate_limits.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
client.rate_limits.with_raw_response.delete(
"",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -394,7 +389,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
rate_limit = await async_client.rate_limits.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(RateLimitDeleteResponse, rate_limit, path=["response"])
@@ -404,7 +398,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.rate_limits.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -418,7 +411,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.rate_limits.with_streaming_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -435,14 +427,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.rate_limits.with_raw_response.delete(
"372e67954025e0ba6aaa6d586b9e0b59",
zone_identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
await async_client.rate_limits.with_raw_response.delete(
"",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_stream.py b/tests/api_resources/test_stream.py
index df25de66aae..583bc4a6552 100644
--- a/tests/api_resources/test_stream.py
+++ b/tests/api_resources/test_stream.py
@@ -129,7 +129,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
stream = client.stream.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert stream is None
@@ -139,7 +138,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.stream.with_raw_response.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -153,7 +151,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.stream.with_streaming_response.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -170,14 +167,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.stream.with_raw_response.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):
client.stream.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -346,7 +341,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
stream = await async_client.stream.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert stream is None
@@ -356,7 +350,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.stream.with_raw_response.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -370,7 +363,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.stream.with_streaming_response.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -387,14 +379,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.stream.with_raw_response.delete(
"ea95132c15732412d22c1476fa83f27a",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):
await async_client.stream.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_subscriptions.py b/tests/api_resources/test_subscriptions.py
index d0d2c1d2eb1..739c3920deb 100644
--- a/tests/api_resources/test_subscriptions.py
+++ b/tests/api_resources/test_subscriptions.py
@@ -247,7 +247,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
subscription = client.subscriptions.delete(
"506e3185e9c882d175a2d0cb0093d9f2",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
@@ -257,7 +256,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.subscriptions.with_raw_response.delete(
"506e3185e9c882d175a2d0cb0093d9f2",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -271,7 +269,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.subscriptions.with_streaming_response.delete(
"506e3185e9c882d175a2d0cb0093d9f2",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -288,7 +285,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.subscriptions.with_raw_response.delete(
"506e3185e9c882d175a2d0cb0093d9f2",
account_identifier="",
- body={},
)
with pytest.raises(
@@ -297,7 +293,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.subscriptions.with_raw_response.delete(
"",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -571,7 +566,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
subscription = await async_client.subscriptions.delete(
"506e3185e9c882d175a2d0cb0093d9f2",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
@@ -581,7 +575,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.subscriptions.with_raw_response.delete(
"506e3185e9c882d175a2d0cb0093d9f2",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -595,7 +588,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.subscriptions.with_streaming_response.delete(
"506e3185e9c882d175a2d0cb0093d9f2",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -612,7 +604,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.subscriptions.with_raw_response.delete(
"506e3185e9c882d175a2d0cb0093d9f2",
account_identifier="",
- body={},
)
with pytest.raises(
@@ -621,7 +612,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.subscriptions.with_raw_response.delete(
"",
account_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_waiting_rooms.py b/tests/api_resources/test_waiting_rooms.py
index 3ea7e7ca327..83dcae0ee81 100644
--- a/tests/api_resources/test_waiting_rooms.py
+++ b/tests/api_resources/test_waiting_rooms.py
@@ -292,7 +292,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
waiting_room = client.waiting_rooms.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(WaitingRoomDeleteResponse, waiting_room, path=["response"])
@@ -302,7 +301,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.waiting_rooms.with_raw_response.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -316,7 +314,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.waiting_rooms.with_streaming_response.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -333,14 +330,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.waiting_rooms.with_raw_response.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `waiting_room_id` but received ''"):
client.waiting_rooms.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -787,7 +782,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
waiting_room = await async_client.waiting_rooms.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(WaitingRoomDeleteResponse, waiting_room, path=["response"])
@@ -797,7 +791,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.waiting_rooms.with_raw_response.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -811,7 +804,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.waiting_rooms.with_streaming_response.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -828,14 +820,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.waiting_rooms.with_raw_response.delete(
"699d98642c564d2e855e9661899b7252",
zone_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `waiting_room_id` but received ''"):
await async_client.waiting_rooms.with_raw_response.delete(
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/test_warp_connector.py b/tests/api_resources/test_warp_connector.py
index a239db28f3b..062f2716017 100644
--- a/tests/api_resources/test_warp_connector.py
+++ b/tests/api_resources/test_warp_connector.py
@@ -136,7 +136,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
warp_connector = client.warp_connector.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(WARPConnectorDeleteResponse, warp_connector, path=["response"])
@@ -146,7 +145,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.warp_connector.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -160,7 +158,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.warp_connector.with_streaming_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -177,14 +174,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.warp_connector.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tunnel_id` but received ''"):
client.warp_connector.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -472,7 +467,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
warp_connector = await async_client.warp_connector.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(WARPConnectorDeleteResponse, warp_connector, path=["response"])
@@ -482,7 +476,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.warp_connector.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -496,7 +489,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.warp_connector.with_streaming_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -513,14 +505,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.warp_connector.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tunnel_id` but received ''"):
await async_client.warp_connector.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/user/test_organizations.py b/tests/api_resources/user/test_organizations.py
index 0745c8cd46f..3bd9659a32f 100644
--- a/tests/api_resources/user/test_organizations.py
+++ b/tests/api_resources/user/test_organizations.py
@@ -67,7 +67,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None:
def test_method_delete(self, client: Cloudflare) -> None:
organization = client.user.organizations.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(OrganizationDeleteResponse, organization, path=["response"])
@@ -76,7 +75,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.user.organizations.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -89,7 +87,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.user.organizations.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -105,7 +102,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):
client.user.organizations.with_raw_response.delete(
"",
- body={},
)
@pytest.mark.skip()
@@ -201,7 +197,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
organization = await async_client.user.organizations.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(OrganizationDeleteResponse, organization, path=["response"])
@@ -210,7 +205,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.user.organizations.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -223,7 +217,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.user.organizations.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -239,7 +232,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `organization_id` but received ''"):
await async_client.user.organizations.with_raw_response.delete(
"",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/user/test_subscriptions.py b/tests/api_resources/user/test_subscriptions.py
index 1cd6b742671..f7a66355990 100644
--- a/tests/api_resources/user/test_subscriptions.py
+++ b/tests/api_resources/user/test_subscriptions.py
@@ -107,7 +107,6 @@ def test_path_params_update(self, client: Cloudflare) -> None:
def test_method_delete(self, client: Cloudflare) -> None:
subscription = client.user.subscriptions.delete(
"506e3185e9c882d175a2d0cb0093d9f2",
- body={},
)
assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
@@ -116,7 +115,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.user.subscriptions.with_raw_response.delete(
"506e3185e9c882d175a2d0cb0093d9f2",
- body={},
)
assert response.is_closed is True
@@ -129,7 +127,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.user.subscriptions.with_streaming_response.delete(
"506e3185e9c882d175a2d0cb0093d9f2",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -145,7 +142,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):
client.user.subscriptions.with_raw_response.delete(
"",
- body={},
)
@pytest.mark.skip()
@@ -349,7 +345,6 @@ async def test_path_params_update(self, async_client: AsyncCloudflare) -> None:
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
subscription = await async_client.user.subscriptions.delete(
"506e3185e9c882d175a2d0cb0093d9f2",
- body={},
)
assert_matches_type(SubscriptionDeleteResponse, subscription, path=["response"])
@@ -358,7 +353,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.user.subscriptions.with_raw_response.delete(
"506e3185e9c882d175a2d0cb0093d9f2",
- body={},
)
assert response.is_closed is True
@@ -371,7 +365,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.user.subscriptions.with_streaming_response.delete(
"506e3185e9c882d175a2d0cb0093d9f2",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -387,7 +380,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):
await async_client.user.subscriptions.with_raw_response.delete(
"",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/user/test_tokens.py b/tests/api_resources/user/test_tokens.py
index 42faf189580..98c71cdbccd 100644
--- a/tests/api_resources/user/test_tokens.py
+++ b/tests/api_resources/user/test_tokens.py
@@ -382,7 +382,6 @@ def test_streaming_response_list(self, client: Cloudflare) -> None:
def test_method_delete(self, client: Cloudflare) -> None:
token = client.user.tokens.delete(
{},
- body={},
)
assert_matches_type(Optional[TokenDeleteResponse], token, path=["response"])
@@ -391,7 +390,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.user.tokens.with_raw_response.delete(
{},
- body={},
)
assert response.is_closed is True
@@ -404,7 +402,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.user.tokens.with_streaming_response.delete(
{},
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -839,7 +836,6 @@ async def test_streaming_response_list(self, async_client: AsyncCloudflare) -> N
async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
token = await async_client.user.tokens.delete(
{},
- body={},
)
assert_matches_type(Optional[TokenDeleteResponse], token, path=["response"])
@@ -848,7 +844,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.user.tokens.with_raw_response.delete(
{},
- body={},
)
assert response.is_closed is True
@@ -861,7 +856,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
async def test_streaming_response_delete(self, async_client: AsyncCloudflare) -> None:
async with async_client.user.tokens.with_streaming_response.delete(
{},
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
diff --git a/tests/api_resources/waiting_rooms/test_events.py b/tests/api_resources/waiting_rooms/test_events.py
index 901ca61d711..26669df63a8 100644
--- a/tests/api_resources/waiting_rooms/test_events.py
+++ b/tests/api_resources/waiting_rooms/test_events.py
@@ -283,7 +283,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(EventDeleteResponse, event, path=["response"])
@@ -294,7 +293,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -309,7 +307,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -327,7 +324,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `waiting_room_id` but received ''"):
@@ -335,7 +331,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `event_id` but received ''"):
@@ -343,7 +338,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -783,7 +777,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(EventDeleteResponse, event, path=["response"])
@@ -794,7 +787,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -809,7 +801,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -827,7 +818,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `waiting_room_id` but received ''"):
@@ -835,7 +825,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `event_id` but received ''"):
@@ -843,7 +832,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/waiting_rooms/test_rules.py b/tests/api_resources/waiting_rooms/test_rules.py
index fa27b73753a..f394f806cab 100644
--- a/tests/api_resources/waiting_rooms/test_rules.py
+++ b/tests/api_resources/waiting_rooms/test_rules.py
@@ -278,7 +278,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"])
@@ -289,7 +288,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -304,7 +302,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -322,7 +319,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `waiting_room_id` but received ''"):
@@ -330,7 +326,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `rule_id` but received ''"):
@@ -338,7 +333,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -692,7 +686,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"])
@@ -703,7 +696,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -718,7 +710,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -736,7 +727,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `waiting_room_id` but received ''"):
@@ -744,7 +734,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"25756b2dfe6e378a06b033b670413757",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `rule_id` but received ''"):
@@ -752,7 +741,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
zone_id="023e105f4ecef8ad9ca31a8372d0c353",
waiting_room_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/web3/hostnames/ipfs_universal_paths/content_lists/test_entries.py b/tests/api_resources/web3/hostnames/ipfs_universal_paths/content_lists/test_entries.py
index 56f419d6fc7..7c9ff14a2ee 100644
--- a/tests/api_resources/web3/hostnames/ipfs_universal_paths/content_lists/test_entries.py
+++ b/tests/api_resources/web3/hostnames/ipfs_universal_paths/content_lists/test_entries.py
@@ -245,7 +245,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[EntryDeleteResponse], entry, path=["response"])
@@ -256,7 +255,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -271,7 +269,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -289,7 +286,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="",
identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):
@@ -297,7 +293,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
identifier="",
- body={},
)
with pytest.raises(
@@ -307,7 +302,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -608,7 +602,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[EntryDeleteResponse], entry, path=["response"])
@@ -620,7 +613,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
)
@@ -636,7 +628,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -654,7 +645,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="",
identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):
@@ -662,7 +652,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
identifier="",
- body={},
)
with pytest.raises(
@@ -672,7 +661,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/web3/test_hostnames.py b/tests/api_resources/web3/test_hostnames.py
index 2a66e443c93..886d917257c 100644
--- a/tests/api_resources/web3/test_hostnames.py
+++ b/tests/api_resources/web3/test_hostnames.py
@@ -124,7 +124,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
hostname = client.web3.hostnames.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[HostnameDeleteResponse], hostname, path=["response"])
@@ -134,7 +133,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.web3.hostnames.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -148,7 +146,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.web3.hostnames.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -165,14 +162,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.web3.hostnames.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):
client.web3.hostnames.with_raw_response.delete(
"",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -399,7 +394,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
hostname = await async_client.web3.hostnames.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(Optional[HostnameDeleteResponse], hostname, path=["response"])
@@ -409,7 +403,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.web3.hostnames.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -423,7 +416,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.web3.hostnames.with_streaming_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -440,14 +432,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.web3.hostnames.with_raw_response.delete(
"023e105f4ecef8ad9ca31a8372d0c353",
zone_identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `identifier` but received ''"):
await async_client.web3.hostnames.with_raw_response.delete(
"",
zone_identifier="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/workers/scripts/test_tail.py b/tests/api_resources/workers/scripts/test_tail.py
index 9088693f5b9..e8c57fde915 100644
--- a/tests/api_resources/workers/scripts/test_tail.py
+++ b/tests/api_resources/workers/scripts/test_tail.py
@@ -83,7 +83,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"03dc9f77817b488fb26c5861ec18f791",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
script_name="this-is_my_script-01",
- body={},
)
assert_matches_type(TailDeleteResponse, tail, path=["response"])
@@ -94,7 +93,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"03dc9f77817b488fb26c5861ec18f791",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
script_name="this-is_my_script-01",
- body={},
)
assert response.is_closed is True
@@ -109,7 +107,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"03dc9f77817b488fb26c5861ec18f791",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
script_name="this-is_my_script-01",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -127,7 +124,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"03dc9f77817b488fb26c5861ec18f791",
account_id="",
script_name="this-is_my_script-01",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `script_name` but received ''"):
@@ -135,7 +131,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"03dc9f77817b488fb26c5861ec18f791",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
script_name="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
@@ -143,7 +138,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
script_name="this-is_my_script-01",
- body={},
)
@pytest.mark.skip()
@@ -266,7 +260,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"03dc9f77817b488fb26c5861ec18f791",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
script_name="this-is_my_script-01",
- body={},
)
assert_matches_type(TailDeleteResponse, tail, path=["response"])
@@ -277,7 +270,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"03dc9f77817b488fb26c5861ec18f791",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
script_name="this-is_my_script-01",
- body={},
)
assert response.is_closed is True
@@ -292,7 +284,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"03dc9f77817b488fb26c5861ec18f791",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
script_name="this-is_my_script-01",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -310,7 +301,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"03dc9f77817b488fb26c5861ec18f791",
account_id="",
script_name="this-is_my_script-01",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `script_name` but received ''"):
@@ -318,7 +308,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"03dc9f77817b488fb26c5861ec18f791",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
script_name="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `id` but received ''"):
@@ -326,7 +315,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
script_name="this-is_my_script-01",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/workers/test_domains.py b/tests/api_resources/workers/test_domains.py
index 040392d1008..84c411939a5 100644
--- a/tests/api_resources/workers/test_domains.py
+++ b/tests/api_resources/workers/test_domains.py
@@ -137,7 +137,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
domain = client.workers.domains.delete(
"dbe10b4bc17c295377eabd600e1787fd",
account_id="9a7806061c88ada191ed06f989cc3dac",
- body={},
)
assert domain is None
@@ -147,7 +146,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.workers.domains.with_raw_response.delete(
"dbe10b4bc17c295377eabd600e1787fd",
account_id="9a7806061c88ada191ed06f989cc3dac",
- body={},
)
assert response.is_closed is True
@@ -161,7 +159,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.workers.domains.with_streaming_response.delete(
"dbe10b4bc17c295377eabd600e1787fd",
account_id="9a7806061c88ada191ed06f989cc3dac",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -178,14 +175,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.workers.domains.with_raw_response.delete(
"dbe10b4bc17c295377eabd600e1787fd",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `domain_id` but received ''"):
client.workers.domains.with_raw_response.delete(
"",
account_id="9a7806061c88ada191ed06f989cc3dac",
- body={},
)
@pytest.mark.skip()
@@ -363,7 +358,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
domain = await async_client.workers.domains.delete(
"dbe10b4bc17c295377eabd600e1787fd",
account_id="9a7806061c88ada191ed06f989cc3dac",
- body={},
)
assert domain is None
@@ -373,7 +367,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.workers.domains.with_raw_response.delete(
"dbe10b4bc17c295377eabd600e1787fd",
account_id="9a7806061c88ada191ed06f989cc3dac",
- body={},
)
assert response.is_closed is True
@@ -387,7 +380,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.workers.domains.with_streaming_response.delete(
"dbe10b4bc17c295377eabd600e1787fd",
account_id="9a7806061c88ada191ed06f989cc3dac",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -404,14 +396,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.workers.domains.with_raw_response.delete(
"dbe10b4bc17c295377eabd600e1787fd",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `domain_id` but received ''"):
await async_client.workers.domains.with_raw_response.delete(
"",
account_id="9a7806061c88ada191ed06f989cc3dac",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/workers/test_scripts.py b/tests/api_resources/workers/test_scripts.py
index 64fb9e37a6a..fe66a7c3e62 100644
--- a/tests/api_resources/workers/test_scripts.py
+++ b/tests/api_resources/workers/test_scripts.py
@@ -273,7 +273,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
script = client.workers.scripts.delete(
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert script is None
@@ -283,7 +282,6 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None:
script = client.workers.scripts.delete(
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
force=True,
)
assert script is None
@@ -294,7 +292,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.workers.scripts.with_raw_response.delete(
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -308,7 +305,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.workers.scripts.with_streaming_response.delete(
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -325,14 +321,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.workers.scripts.with_raw_response.delete(
"this-is_my_script-01",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `script_name` but received ''"):
client.workers.scripts.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -656,7 +650,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
script = await async_client.workers.scripts.delete(
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert script is None
@@ -666,7 +659,6 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare
script = await async_client.workers.scripts.delete(
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
force=True,
)
assert script is None
@@ -677,7 +669,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.workers.scripts.with_raw_response.delete(
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -691,7 +682,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.workers.scripts.with_streaming_response.delete(
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -708,14 +698,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.workers.scripts.with_raw_response.delete(
"this-is_my_script-01",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `script_name` but received ''"):
await async_client.workers.scripts.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/workers_for_platforms/dispatch/namespaces/test_scripts.py b/tests/api_resources/workers_for_platforms/dispatch/namespaces/test_scripts.py
index b9d28ce6a0d..4cfdfaa74b7 100644
--- a/tests/api_resources/workers_for_platforms/dispatch/namespaces/test_scripts.py
+++ b/tests/api_resources/workers_for_platforms/dispatch/namespaces/test_scripts.py
@@ -248,7 +248,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
dispatch_namespace="my-dispatch-namespace",
- body={},
)
assert script is None
@@ -259,7 +258,6 @@ def test_method_delete_with_all_params(self, client: Cloudflare) -> None:
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
dispatch_namespace="my-dispatch-namespace",
- body={},
force=True,
)
assert script is None
@@ -271,7 +269,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
dispatch_namespace="my-dispatch-namespace",
- body={},
)
assert response.is_closed is True
@@ -286,7 +283,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
dispatch_namespace="my-dispatch-namespace",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -304,7 +300,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"this-is_my_script-01",
account_id="",
dispatch_namespace="my-dispatch-namespace",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `dispatch_namespace` but received ''"):
@@ -312,7 +307,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
dispatch_namespace="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `script_name` but received ''"):
@@ -320,7 +314,6 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
dispatch_namespace="my-dispatch-namespace",
- body={},
)
@pytest.mark.skip()
@@ -621,7 +614,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
dispatch_namespace="my-dispatch-namespace",
- body={},
)
assert script is None
@@ -632,7 +624,6 @@ async def test_method_delete_with_all_params(self, async_client: AsyncCloudflare
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
dispatch_namespace="my-dispatch-namespace",
- body={},
force=True,
)
assert script is None
@@ -644,7 +635,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
dispatch_namespace="my-dispatch-namespace",
- body={},
)
assert response.is_closed is True
@@ -659,7 +649,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
dispatch_namespace="my-dispatch-namespace",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -677,7 +666,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"this-is_my_script-01",
account_id="",
dispatch_namespace="my-dispatch-namespace",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `dispatch_namespace` but received ''"):
@@ -685,7 +673,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"this-is_my_script-01",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
dispatch_namespace="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `script_name` but received ''"):
@@ -693,7 +680,6 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
dispatch_namespace="my-dispatch-namespace",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/zero_trust/access/test_bookmarks.py b/tests/api_resources/zero_trust/access/test_bookmarks.py
index 0c40732bd39..0e434d59266 100644
--- a/tests/api_resources/zero_trust/access/test_bookmarks.py
+++ b/tests/api_resources/zero_trust/access/test_bookmarks.py
@@ -181,7 +181,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
bookmark = client.zero_trust.access.bookmarks.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
identifier="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[BookmarkDeleteResponse], bookmark, path=["response"])
@@ -191,7 +190,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.zero_trust.access.bookmarks.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
identifier="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -205,7 +203,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.zero_trust.access.bookmarks.with_streaming_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
identifier="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -222,14 +219,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.zero_trust.access.bookmarks.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"):
client.zero_trust.access.bookmarks.with_raw_response.delete(
"",
identifier="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -450,7 +445,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
bookmark = await async_client.zero_trust.access.bookmarks.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
identifier="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[BookmarkDeleteResponse], bookmark, path=["response"])
@@ -460,7 +454,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.zero_trust.access.bookmarks.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
identifier="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -474,7 +467,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.zero_trust.access.bookmarks.with_streaming_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
identifier="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -491,14 +483,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.zero_trust.access.bookmarks.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
identifier="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `uuid` but received ''"):
await async_client.zero_trust.access.bookmarks.with_raw_response.delete(
"",
identifier="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/zero_trust/devices/posture/test_integrations.py b/tests/api_resources/zero_trust/devices/posture/test_integrations.py
index 25043b98783..000ee6118db 100644
--- a/tests/api_resources/zero_trust/devices/posture/test_integrations.py
+++ b/tests/api_resources/zero_trust/devices/posture/test_integrations.py
@@ -162,7 +162,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
integration = client.zero_trust.devices.posture.integrations.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(IntegrationDeleteResponse, integration, path=["response"])
@@ -172,7 +171,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.zero_trust.devices.posture.integrations.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -186,7 +184,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.zero_trust.devices.posture.integrations.with_streaming_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -203,14 +200,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.zero_trust.devices.posture.integrations.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `integration_id` but received ''"):
client.zero_trust.devices.posture.integrations.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -482,7 +477,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
integration = await async_client.zero_trust.devices.posture.integrations.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(IntegrationDeleteResponse, integration, path=["response"])
@@ -492,7 +486,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.zero_trust.devices.posture.integrations.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -506,7 +499,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.zero_trust.devices.posture.integrations.with_streaming_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -523,14 +515,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.zero_trust.devices.posture.integrations.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `integration_id` but received ''"):
await async_client.zero_trust.devices.posture.integrations.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/zero_trust/devices/test_networks.py b/tests/api_resources/zero_trust/devices/test_networks.py
index 30701ddf3ff..a4dec6c111d 100644
--- a/tests/api_resources/zero_trust/devices/test_networks.py
+++ b/tests/api_resources/zero_trust/devices/test_networks.py
@@ -202,7 +202,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
network = client.zero_trust.devices.networks.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[NetworkDeleteResponse], network, path=["response"])
@@ -212,7 +211,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.zero_trust.devices.networks.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -226,7 +224,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.zero_trust.devices.networks.with_streaming_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -243,14 +240,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.zero_trust.devices.networks.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `network_id` but received ''"):
client.zero_trust.devices.networks.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -492,7 +487,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
network = await async_client.zero_trust.devices.networks.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[NetworkDeleteResponse], network, path=["response"])
@@ -502,7 +496,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.zero_trust.devices.networks.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -516,7 +509,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.zero_trust.devices.networks.with_streaming_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -533,14 +525,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.zero_trust.devices.networks.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `network_id` but received ''"):
await async_client.zero_trust.devices.networks.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/zero_trust/devices/test_policies.py b/tests/api_resources/zero_trust/devices/test_policies.py
index af7e8c718c5..26958d246ee 100644
--- a/tests/api_resources/zero_trust/devices/test_policies.py
+++ b/tests/api_resources/zero_trust/devices/test_policies.py
@@ -149,7 +149,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
policy = client.zero_trust.devices.policies.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"])
@@ -159,7 +158,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.zero_trust.devices.policies.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -173,7 +171,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.zero_trust.devices.policies.with_streaming_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -190,14 +187,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.zero_trust.devices.policies.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `policy_id` but received ''"):
client.zero_trust.devices.policies.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -465,7 +460,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
policy = await async_client.zero_trust.devices.policies.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[PolicyDeleteResponse], policy, path=["response"])
@@ -475,7 +469,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.zero_trust.devices.policies.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -489,7 +482,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.zero_trust.devices.policies.with_streaming_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -506,14 +498,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.zero_trust.devices.policies.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `policy_id` but received ''"):
await async_client.zero_trust.devices.policies.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/zero_trust/devices/test_posture.py b/tests/api_resources/zero_trust/devices/test_posture.py
index 6fa27d73207..df526906d32 100644
--- a/tests/api_resources/zero_trust/devices/test_posture.py
+++ b/tests/api_resources/zero_trust/devices/test_posture.py
@@ -222,7 +222,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
posture = client.zero_trust.devices.posture.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[PostureDeleteResponse], posture, path=["response"])
@@ -232,7 +231,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.zero_trust.devices.posture.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -246,7 +244,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.zero_trust.devices.posture.with_streaming_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -263,14 +260,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.zero_trust.devices.posture.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `rule_id` but received ''"):
client.zero_trust.devices.posture.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -532,7 +527,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
posture = await async_client.zero_trust.devices.posture.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[PostureDeleteResponse], posture, path=["response"])
@@ -542,7 +536,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.zero_trust.devices.posture.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -556,7 +549,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.zero_trust.devices.posture.with_streaming_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -573,14 +565,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.zero_trust.devices.posture.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `rule_id` but received ''"):
await async_client.zero_trust.devices.posture.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/zero_trust/dlp/profiles/test_custom.py b/tests/api_resources/zero_trust/dlp/profiles/test_custom.py
index e0ca3b9e2da..a33af142c56 100644
--- a/tests/api_resources/zero_trust/dlp/profiles/test_custom.py
+++ b/tests/api_resources/zero_trust/dlp/profiles/test_custom.py
@@ -170,7 +170,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
custom = client.zero_trust.dlp.profiles.custom.delete(
"384e129d-25bd-403c-8019-bc19eb7a8a5f",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(CustomDeleteResponse, custom, path=["response"])
@@ -180,7 +179,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.zero_trust.dlp.profiles.custom.with_raw_response.delete(
"384e129d-25bd-403c-8019-bc19eb7a8a5f",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -194,7 +192,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.zero_trust.dlp.profiles.custom.with_streaming_response.delete(
"384e129d-25bd-403c-8019-bc19eb7a8a5f",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -211,14 +208,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.zero_trust.dlp.profiles.custom.with_raw_response.delete(
"384e129d-25bd-403c-8019-bc19eb7a8a5f",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"):
client.zero_trust.dlp.profiles.custom.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
@@ -428,7 +423,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
custom = await async_client.zero_trust.dlp.profiles.custom.delete(
"384e129d-25bd-403c-8019-bc19eb7a8a5f",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert_matches_type(CustomDeleteResponse, custom, path=["response"])
@@ -438,7 +432,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.zero_trust.dlp.profiles.custom.with_raw_response.delete(
"384e129d-25bd-403c-8019-bc19eb7a8a5f",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
assert response.is_closed is True
@@ -452,7 +445,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.zero_trust.dlp.profiles.custom.with_streaming_response.delete(
"384e129d-25bd-403c-8019-bc19eb7a8a5f",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -469,14 +461,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.zero_trust.dlp.profiles.custom.with_raw_response.delete(
"384e129d-25bd-403c-8019-bc19eb7a8a5f",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `profile_id` but received ''"):
await async_client.zero_trust.dlp.profiles.custom.with_raw_response.delete(
"",
account_id="023e105f4ecef8ad9ca31a8372d0c353",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/zero_trust/gateway/test_lists.py b/tests/api_resources/zero_trust/gateway/test_lists.py
index 7881181bdad..5dd27bfa5ee 100644
--- a/tests/api_resources/zero_trust/gateway/test_lists.py
+++ b/tests/api_resources/zero_trust/gateway/test_lists.py
@@ -198,7 +198,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
list = client.zero_trust.gateway.lists.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[ListDeleteResponse], list, path=["response"])
@@ -208,7 +207,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.zero_trust.gateway.lists.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -222,7 +220,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.zero_trust.gateway.lists.with_streaming_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -239,14 +236,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.zero_trust.gateway.lists.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
client.zero_trust.gateway.lists.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -546,7 +541,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
list = await async_client.zero_trust.gateway.lists.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[ListDeleteResponse], list, path=["response"])
@@ -556,7 +550,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.zero_trust.gateway.lists.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -570,7 +563,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.zero_trust.gateway.lists.with_streaming_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -587,14 +579,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.zero_trust.gateway.lists.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `list_id` but received ''"):
await async_client.zero_trust.gateway.lists.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/zero_trust/gateway/test_locations.py b/tests/api_resources/zero_trust/gateway/test_locations.py
index 4049a984b30..53b0131e9a4 100644
--- a/tests/api_resources/zero_trust/gateway/test_locations.py
+++ b/tests/api_resources/zero_trust/gateway/test_locations.py
@@ -195,7 +195,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
location = client.zero_trust.gateway.locations.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[LocationDeleteResponse], location, path=["response"])
@@ -205,7 +204,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.zero_trust.gateway.locations.with_raw_response.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -219,7 +217,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.zero_trust.gateway.locations.with_streaming_response.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -236,14 +233,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.zero_trust.gateway.locations.with_raw_response.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `location_id` but received ''"):
client.zero_trust.gateway.locations.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -478,7 +473,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
location = await async_client.zero_trust.gateway.locations.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[LocationDeleteResponse], location, path=["response"])
@@ -488,7 +482,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.zero_trust.gateway.locations.with_raw_response.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -502,7 +495,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.zero_trust.gateway.locations.with_streaming_response.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -519,14 +511,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.zero_trust.gateway.locations.with_raw_response.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `location_id` but received ''"):
await async_client.zero_trust.gateway.locations.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py b/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py
index ebc9df85eb6..076a7498d80 100644
--- a/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py
+++ b/tests/api_resources/zero_trust/gateway/test_proxy_endpoints.py
@@ -117,7 +117,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
proxy_endpoint = client.zero_trust.gateway.proxy_endpoints.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[ProxyEndpointDeleteResponse], proxy_endpoint, path=["response"])
@@ -127,7 +126,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.zero_trust.gateway.proxy_endpoints.with_raw_response.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -141,7 +139,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.zero_trust.gateway.proxy_endpoints.with_streaming_response.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -158,14 +155,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.zero_trust.gateway.proxy_endpoints.with_raw_response.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `proxy_endpoint_id` but received ''"):
client.zero_trust.gateway.proxy_endpoints.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -385,7 +380,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
proxy_endpoint = await async_client.zero_trust.gateway.proxy_endpoints.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[ProxyEndpointDeleteResponse], proxy_endpoint, path=["response"])
@@ -395,7 +389,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.zero_trust.gateway.proxy_endpoints.with_raw_response.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -409,7 +402,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.zero_trust.gateway.proxy_endpoints.with_streaming_response.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -426,14 +418,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.zero_trust.gateway.proxy_endpoints.with_raw_response.delete(
"ed35569b41ce4d1facfe683550f54086",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `proxy_endpoint_id` but received ''"):
await async_client.zero_trust.gateway.proxy_endpoints.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/zero_trust/gateway/test_rules.py b/tests/api_resources/zero_trust/gateway/test_rules.py
index 06386fffc8a..942f2bf34ad 100644
--- a/tests/api_resources/zero_trust/gateway/test_rules.py
+++ b/tests/api_resources/zero_trust/gateway/test_rules.py
@@ -406,7 +406,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
rule = client.zero_trust.gateway.rules.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"])
@@ -416,7 +415,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.zero_trust.gateway.rules.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -430,7 +428,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.zero_trust.gateway.rules.with_streaming_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -447,14 +444,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.zero_trust.gateway.rules.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `rule_id` but received ''"):
client.zero_trust.gateway.rules.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -900,7 +895,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
rule = await async_client.zero_trust.gateway.rules.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(Optional[RuleDeleteResponse], rule, path=["response"])
@@ -910,7 +904,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.zero_trust.gateway.rules.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -924,7 +917,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.zero_trust.gateway.rules.with_streaming_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -941,14 +933,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.zero_trust.gateway.rules.with_raw_response.delete(
"f174e90a-fafe-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `rule_id` but received ''"):
await async_client.zero_trust.gateway.rules.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/zero_trust/networks/test_virtual_networks.py b/tests/api_resources/zero_trust/networks/test_virtual_networks.py
index 0605b0ea6c5..63c3bb61893 100644
--- a/tests/api_resources/zero_trust/networks/test_virtual_networks.py
+++ b/tests/api_resources/zero_trust/networks/test_virtual_networks.py
@@ -138,7 +138,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
virtual_network = client.zero_trust.networks.virtual_networks.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"])
@@ -148,7 +147,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.zero_trust.networks.virtual_networks.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -162,7 +160,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.zero_trust.networks.virtual_networks.with_streaming_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -179,14 +176,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.zero_trust.networks.virtual_networks.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `virtual_network_id` but received ''"):
client.zero_trust.networks.virtual_networks.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -374,7 +369,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
virtual_network = await async_client.zero_trust.networks.virtual_networks.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(VirtualNetworkDeleteResponse, virtual_network, path=["response"])
@@ -384,7 +378,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.zero_trust.networks.virtual_networks.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -398,7 +391,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.zero_trust.networks.virtual_networks.with_streaming_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -415,14 +407,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.zero_trust.networks.virtual_networks.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `virtual_network_id` but received ''"):
await async_client.zero_trust.networks.virtual_networks.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/zero_trust/test_tunnels.py b/tests/api_resources/zero_trust/test_tunnels.py
index 4a10e8cb8e1..cc99acb7d83 100644
--- a/tests/api_resources/zero_trust/test_tunnels.py
+++ b/tests/api_resources/zero_trust/test_tunnels.py
@@ -140,7 +140,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
tunnel = client.zero_trust.tunnels.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(TunnelDeleteResponse, tunnel, path=["response"])
@@ -150,7 +149,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.zero_trust.tunnels.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -164,7 +162,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.zero_trust.tunnels.with_streaming_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -181,14 +178,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.zero_trust.tunnels.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tunnel_id` but received ''"):
client.zero_trust.tunnels.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -427,7 +422,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
tunnel = await async_client.zero_trust.tunnels.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(TunnelDeleteResponse, tunnel, path=["response"])
@@ -437,7 +431,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.zero_trust.tunnels.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -451,7 +444,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.zero_trust.tunnels.with_streaming_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -468,14 +460,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.zero_trust.tunnels.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tunnel_id` but received ''"):
await async_client.zero_trust.tunnels.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
diff --git a/tests/api_resources/zero_trust/tunnels/test_connections.py b/tests/api_resources/zero_trust/tunnels/test_connections.py
index 26310f54f50..7db09e51ba9 100644
--- a/tests/api_resources/zero_trust/tunnels/test_connections.py
+++ b/tests/api_resources/zero_trust/tunnels/test_connections.py
@@ -24,7 +24,6 @@ def test_method_delete(self, client: Cloudflare) -> None:
connection = client.zero_trust.tunnels.connections.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(ConnectionDeleteResponse, connection, path=["response"])
@@ -34,7 +33,6 @@ def test_raw_response_delete(self, client: Cloudflare) -> None:
response = client.zero_trust.tunnels.connections.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -48,7 +46,6 @@ def test_streaming_response_delete(self, client: Cloudflare) -> None:
with client.zero_trust.tunnels.connections.with_streaming_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -65,14 +62,12 @@ def test_path_params_delete(self, client: Cloudflare) -> None:
client.zero_trust.tunnels.connections.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tunnel_id` but received ''"):
client.zero_trust.tunnels.connections.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()
@@ -137,7 +132,6 @@ async def test_method_delete(self, async_client: AsyncCloudflare) -> None:
connection = await async_client.zero_trust.tunnels.connections.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert_matches_type(ConnectionDeleteResponse, connection, path=["response"])
@@ -147,7 +141,6 @@ async def test_raw_response_delete(self, async_client: AsyncCloudflare) -> None:
response = await async_client.zero_trust.tunnels.connections.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
assert response.is_closed is True
@@ -161,7 +154,6 @@ async def test_streaming_response_delete(self, async_client: AsyncCloudflare) ->
async with async_client.zero_trust.tunnels.connections.with_streaming_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
) as response:
assert not response.is_closed
assert response.http_request.headers.get("X-Stainless-Lang") == "python"
@@ -178,14 +170,12 @@ async def test_path_params_delete(self, async_client: AsyncCloudflare) -> None:
await async_client.zero_trust.tunnels.connections.with_raw_response.delete(
"f70ff985-a4ef-4643-bbbc-4a0ed4fc8415",
account_id="",
- body={},
)
with pytest.raises(ValueError, match=r"Expected a non-empty value for `tunnel_id` but received ''"):
await async_client.zero_trust.tunnels.connections.with_raw_response.delete(
"",
account_id="699d98642c564d2e855e9661899b7252",
- body={},
)
@pytest.mark.skip()