Gateway IPs

List

get

Retrieve Criteria Gateway IP List of a Site Defaults object.

Query parameters
siteIdinteger · int32Optional

The SiteId of a Site Defaults object for which to retrieve the Criteria settings (optional).

Responses
200

Success

application/json; api-version=1.0
get
GET /api/MFADefaultSettings/Criteria/GatewayIPs HTTP/1.1
Host: 
Accept: */*
[
  {
    "gatewayIP": "text"
  }
]

Add

post

Add a gateway IP to the Gateway IP List of the Criteria settings.

Query parameters
siteIdinteger · int32Optional

The Site ID of an object for which to modify the Criteria settings (optional).

Body

Add a gateway IP to the Criteria Gateways list

ipstring | nullableOptional

The IP of the gateway to add to the Criteria.

gatewayIdinteger · int32 | nullableOptional

The ID of the gateway to add to the Criteria.

Responses
201

Created

post
POST /api/MFADefaultSettings/Criteria/GatewayIPs HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 27

{
  "ip": "text",
  "gatewayId": 1
}

No content

Remove

delete

Remove a gateway IP from the Gateway IP List of the Criteria settings.

Query parameters
siteIdinteger · int32Optional

The Site ID of an object for which to modify the Criteria settings (optional).

Body

Remove a gateway IP from the Criteria Gateways list

ipstring | nullableRequired

The IP of the gateway to remove from the Criteria.

Responses
204

No Content

delete
DELETE /api/MFADefaultSettings/Criteria/GatewayIPs HTTP/1.1
Host: 
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 13

{
  "ip": "text"
}

No content

Last updated

Was this helpful?