Add a geo rule
POSThttps://api.evora.lol/api/developer-api/apps/{appId}/geo-rules
Requires scopegeo:write
Path parameters
| appIdrequired string (uuid) | Application UUID. App-scoped keys may only use their own application. |
Body
| rule_typerequired enum | One of: allow · block |
| valuerequired string | ISO country code. |
| note string |
Request
{ "rule_type": "block", "value": "RU" }
Responses
200Added.
json
{ "rule": { "id": "4e0a7c95-6d13-482b-b7f0-9a5c2e8d1046", "rule_type": "block", "value": "RU", "note": "Sanctions" } }
More in Geo
Base URL https://api.evora.lol/api/developer-api · full spec at developer-api.yaml · back to the docs