IP 접근 허용 체크
POST http://{auth-domain}/v1.0/auth/ip/access/allow
Request Body
Name
Type
Description
ip*
string
아이피 주소
{
"return": 0,
"message": "success",
"value": {
"country": "KR",
"allow_access": false
}
}curl --location --request POST 'https://{auth-domain}/v1.0/auth/ip/access/allow' \
--header 'Content-Type: application/json' \
--data-raw '{
"ip": "121.133.240.74"
}'key
data type
desc.
country
string
IP의 접속 국가 WL : White List
allow_access
string
접근 허용 여부
return
message
desc.
0
success
성공
22010
Invalid IP address.
유효하지 않은 IP
Last updated