Create location context policy
Body parameter
{ "name": "string", "description": "string", "userGroupsIds": [ "string" ], "ipCheck": { "allowed": true, "ips": [ { "ip": "string", "description": "string" } ] }, "countryCheck": { "countries": [ "string" ], "allowed": true }, "defaultCheck": { "allowed": true } }
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
body | body | true | none | |
» name | body | string | false | none |
» description | body | string | false | none |
» userGroupsIds | body | [string] | false | none |
» ipCheck | body | false | none | |
»» allowed | body | boolean | false | none |
»» ips | body | false | none | |
»»» ip | body | string | false | none |
»»» description | body | string | false | none |
» countryCheck | body | false | none | |
»» countries | body | [string] | false | none |
»» allowed | body | boolean | false | none |
» defaultCheck | body | false | none | |
»» allowed | body | boolean | false | none |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK |
To perform this operation, you must be authenticated by means of one of the following methods: oauth