Create a traffic rule
Skip to main content
Create a traffic rule
POST
Create a traffic rule
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Organization name slug from list_organizations. Example: acme.
Database name slug from list_databases. Example: app-db.
Branch name from list_branches. Example: main.
The ID of the traffic budget
Body
application/json
Response
Returns the created traffic rule
The ID of the traffic rule
The kind of rule
Available options:
match Syntax highlighted SQL for rules with SQL keys
When the rule was created
When the rule was updated
The query fingerprint targeted by this rule
The keyspace of the fingerprint