---
title: Dynamic advertisement · Cloudflare BYOIP docs
description: You can use the Cloudflare API or the IP Prefixes page in the
  Cloudflare dashboard to configure the Border Gateway Protocol advertisement at
  the Cloudflare edge.
lastUpdated: 2024-08-13T19:56:56.000Z
chatbotDeprioritize: false
source_url:
  html: https://developers.cloudflare.com/byoip/concepts/dynamic-advertisement/
  md: https://developers.cloudflare.com/byoip/concepts/dynamic-advertisement/index.md
---

You can use the [Cloudflare API](https://developers.cloudflare.com/byoip/concepts/dynamic-advertisement/best-practices/#via-the-api) or [the IP Prefixes page](https://developers.cloudflare.com/byoip/concepts/dynamic-advertisement/best-practices/#via-the-cloudflare-dashboard) in the Cloudflare dashboard to configure the Border Gateway Protocol advertisement at the Cloudflare edge.

When using the API, you can authorize an API 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. Enabling advertising typically takes two to seven minutes and disabling advertising takes approximately 15 minutes.

Both the API and the [Cloudflare dashboard](https://dash.cloudflare.com/) support prefix delegations, which allow other Cloudflare accounts to interact with your prefix. The effect of a delegation is service specific. For more information, refer to [prefix delegations](https://developers.cloudflare.com/byoip/concepts/prefix-delegations/).
