Create access rules
POST/api/v1/iglu/rest/tenants/:tenant/access_rules
Create a new access rule for the given tenant
Request
Responses
- 201
- 401
- 403
- 404
- 406
- 422
- 423
- 500
- 503
Response cotaining the new Rule
The key you were using is not recognized
Forbidden - No authorization, either you didn't provide an authorization header or your header is not in the Bearer format
The requested tenant does not exist on this server
Returned when your route params are not in the correct format
Returned if the request body is in an invalid state
Returned if a new rule would lock out the IP you are requesting from. This can be done regardless of the locking by providing the confirm=true query param
Returned if the rule creation failed on Iglu's Part
Returned if the feature this route is part of is not enabled