POST
/
security
/
sifter
/
v2
/
protected_addresses
/
announces
Python
from gcore import Gcore

client = Gcore(
    api_key="My API Key",
)
response = client.security.bgp_announces.toggle(
    announce="192.9.9.1/32",
    enabled=True,
)
print(response)
"<any>"

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Query Parameters

client_id
integer | null

Body

application/json
announce
string<ipv4network>
required
Examples:

"192.9.9.1/32"

enabled
boolean
required
Examples:

true

Response

Successful Response

The response is of type any.