Network Rules
Create Network Rule
POST
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringapplication/json- body
ipAddress*stringallowed*booleanNetworkRuleRecord
application/json- response
id*stringprojectId*stringipAddress*stringallowed*booleancreatedAt*stringcurl -X POST 'https://api.faststats.dev/v0/projects/string/network-rules' \ -H 'Content-Type: application/json' \ -d '{ "ipAddress": "string", "allowed": true}'{ "id": "string", "projectId": "string", "ipAddress": "string", "allowed": true, "createdAt": "string"}