Add an access rule
INCLUDE shows only the listed locations, EXCLUDE hides them, optionally within an effective_from/effective_until window.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
network_id
The network’s network_id.
Headers
Idempotency-Key
A unique key you choose for this call, e.g. a UUID. Retrying with the same key returns the first result instead of acting twice.
Request
This endpoint expects an object.
rule_type
Allowed values:
location_ids
priority
effective_from
effective_until
Response
The created rule.
rule_id
network_id
rule_type
location_ids
priority
created_at
updated_at
effective_from
effective_until
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error
429
Too Many Requests Error
502
Bad Gateway Error
504
Gateway Timeout Error