Global_Loginipallowlist
You need Manage Security permission to manage login ip allowlist.
Allowed IP List
- Allowed IP List Manage
GET global/loginIpAllowlists
GET global/loginIpAllowlists/{id}
POST global/loginIpAllowlists
PUT global/loginIpAllowlists/{id}
DELETE global/loginIpAllowlists/{id}
Model
Global_Loginipallowlist JSON Format
Global_Loginipallowlist is represented as simple flat JSON objects with the following keys:
Name | Type | Description |
---|---|---|
ipRangeFrom |
string | Where an IP range starts. |
ipRangeTo |
string | Where an IP range ends. |
id |
guid | Id of the login IP allowlist. |
Endpoint
Get the list of Allowed IP List
GET global/loginIpAllowlists
Example
Sample Request:
curl https://api11.comm100.io/v4/global/loginIpAllowlists \
-X
'GET'
\
-H
'Authorization: Bearer {access_token}'
\
Response:
HTTP/1.1 200 OK
Get a single Global_Loginipallowlist
GET global/loginIpAllowlists/{id}
Example
Sample Request:
curl https://api11.comm100.io/v4/global/loginIpAllowlists/4df58287-f9b2-4d39-9614-1a8374da51d6 \
-X
'GET'
\
-H
'Authorization: Bearer {access_token}'
\
Response:
HTTP/1.1 200 OK
Create a new Global_Loginipallowlist
POST global/loginIpAllowlists
Parameters:
Name | Type | In | Required | Description |
---|---|---|---|---|
ipRangeFrom |
string | body | yes | Where an IP range starts. |
ipRangeTo |
string | body | yes | Where an IP range ends. |
Response:
Example
Sample Request:
curl https://api11.comm100.io/v4/global/loginIpAllowlists \
-X
'POST'
\
-H
'Authorization: Bearer {access_token}'
\
-H
'Content-Type: application/json'
\
-D
'{"ipRangeFrom":"192.168.0.1","ipRangeTo":"192.168.0.100"}'
Response:
HTTP/1.1 201 Created
Update the Global_Loginipallowlist
PUT global/loginIpAllowlists/{id}
Parameters:
Name | Type | In | Required | Description |
---|---|---|---|---|
ipRangeFrom |
string | body | yes | Where an IP range starts. |
ipRangeTo |
string | body | yes | Where an IP range ends. |
Response:
Example
Sample Request:
curl https://api11.comm100.io/v4/global/loginIpAllowlists/4df58287-f9b2-4d39-9614-1a8374da51d6 \
-X
'PUT'
\
-H
'Authorization: Bearer {access_token}'
\
-H
'Content-Type: application/json'
\
-D
'{"ipRangeFrom":"192.168.0.1","ipRangeTo":"192.168.0.100"}'
Response:
HTTP/1.1 200 OK
Remove the Global_Loginipallowlist
DELETE global/loginIpAllowlists/{id}
Parameters:
No Parameters
Response:
No Content
Example
Sample Request:
curl https://api11.comm100.io/v4/global/loginIpAllowlists/4df58287-f9b2-4d39-9614-1a8374da51d6 \
-X
'DELETE'
\
-H
'Authorization: Bearer {access_token}'
\
Response:
HTTP/1.1 204 No Content