updateIPAccessRestrictions
Update IP-based access restrictions for an environment.
updateIPAccessRestrictions(
input: EdgeConfigUpdateIPAccessRestrictionsInput
): EdgeConfigAccessRestrictionsIp
Example
- Query
- Variables
- Response
mutation ($input: EdgeConfigUpdateIPAccessRestrictionsInput) {
updateIPAccessRestrictions(input: $input) {
action
groups {
createdAt
id
ips
notes
updatedAt
}
}
}
{
"input": {
"action": "allow",
"environmentId": 42,
"groups": [
{
"id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",
"ips": [
"ips"
],
"notes": "notes"
}
]
}
}
{
"data": {
"updateIPAccessRestrictions": {
"action": "allow",
"groups": [
{
"createdAt": "2024-01-15T00:00:00.000Z",
"id": "08a16b83-9094-4e89-8c05-2ccadd5c1c7e",
"ips": [
"ips"
],
"notes": "notes",
"updatedAt": "2024-01-15T00:00:00.000Z"
}
]
}
}
}
Arguments
updateIPAccessRestrictions.input ● EdgeConfigUpdateIPAccessRestrictionsInput input common
The environment and IP access restriction settings to apply.
Type
EdgeConfigAccessRestrictionsIp object common
IP-based access restriction configuration.