Dynamic advertisement
Last updated Apr 30, 2026 Dynamic advertisement allows you to control when Cloudflare announces your IP prefixes via BGP. When a prefix is advertised, Cloudflare announces it to the Internet so that traffic destined for those IPs can be routed to Cloudflare. When a prefix is withdrawn, Cloudflare stops announcing it — traffic will then follow whatever other BGP routes exist for that prefix.
You can advertise and withdraw prefixes on demand using the Cloudflare API or the IP Prefixes page in the Cloudflare dashboard. Enabling advertisement typically takes two to seven minutes, and disabling advertisement takes approximately 15 minutes.
When using the API, you can authorize the call with your email and API key or create a service token for this purpose. A successful API response indicates the service registered the request.
Both the API and the Cloudflare dashboard support prefix delegations, which allow other Cloudflare accounts to interact with your prefix. The effect of a delegation is service-specific.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/byoip/concepts/dynamic-advertisement/#page","headline":"Dynamic advertisement","description":"Advertise and withdraw IP prefixes on demand through the API or dashboard.","url":"https://developers.cloudflare.com/byoip/concepts/dynamic-advertisement/","inLanguage":"en","image":"https://developers.cloudflare.com/byoip/concepts/dynamic-advertisement/og.png?v=b217d29af6874481","dateModified":"2026-04-30","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Best practices for managing dynamic IP prefix advertisement. title: Best practices image: https://developers.cloudflare.com/byoip/concepts/dynamic-advertisement/best-practices/og.png?v=796d1adb35b6ab66
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/byoip/llms.txt
Use this file to discover all available pages before exploring further.
Docs