https://api.gcore.com. Protected networks, protection profiles, and protection templates use /security/sifter/v3. BGP announcements use /security/sifter/v2. Event logs use /security/notifier/v1.
Creating a network returns status and lifecycle_status of PENDING. Review of the prefix, the AS number, and the Letter of Authorization continues in network submission. After approval, attach the profile to the network.
Quick start
An API token authorizes the calls. Use Postman stores that token on the DDoS Protection collection. Run one scenario in a single shell, because later commands read variables set by earlier ones.- Protect a network
- Change a BGP announcement
The calls find the Basic template, create a protection profile from it, and submit the prefix. The network is not filtering traffic at the end of these calls. Its status is
PENDING.1
Find the Basic template
The protection template list includes the template named Basic. Its 

A response that contains Basic looks like this. The ids differ by account:Copy those three ids into the shell:
id is template_id. The ACL list and Rate limiter low fields provide the template field IDs needed to configure the protection profile.

2
Create the protection profile
The protection profile request stores the profile name, the Basic template id, one TCP rule, and a rate-limiter cap. The TCP rule uses policy 

A successful request returns the new profile id:
tcp-server on port 80 and sits ahead of the four Basic catch-all rules. The rate-limiter value is an integer from 1 to 50.

3
Submit the network
The protected network request submits an IPv4 prefix, the AS number, and a Letter of Authorization in PDF. Replace the example network and AS number with the prefix you own and its corresponding AS number. Provide a valid Letter of Authorization as 

The response leaves both statuses at
loa.pdf.

PENDING:PROFILE_ID is not sent here. The profile is attached after the submission is approved.


