Update allowed country codes
POST
/allowed_country_codes/update
Path parameters
-
access_token
string
required
token to be passed as a header
Request body
application/json
-
codes
array
required
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/security/allowed_country_codes/update \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{}'
Responses
200
Updated allowed country codes
Sample Response
Create disallowed codes
POST
/disallowed_codes/create
Path parameters
-
access_token
string
required
token to be passed as a header
Request body
application/json
-
description
string
required
Placeholder -
number_prefix
string
required
Placeholder
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/security/disallowed_codes/create \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{}'
Responses
200
Created disallowed codes
application/json
-
id
integer
Sample Response
{}
show security settings
GET
/show
show security settings
Path parameters
-
access_token
string
required
token to be passed as a header
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/security/show \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
Successful operation
application/json
-
sip
object
-
web_login
object
Placeholder
Sample Response
{}
Destroy disallowed codes
POST
/disallowed_codes/destroy
Destroy disallowed codes
Path parameters
-
access_token
string
required
token to be passed as a header
Request body
application/json
-
id
integer
required
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/security/disallowed_codes/destroy \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{}'
Responses
404
User not found
200
Successful operation
400
Invalid entry ID supplied
Sample Response
Update security settings
POST
/update
Path parameters
-
access_token
string
required
token to be passed as a header
Request body
application/json
-
sip
object
required
-
web_login
object
required
Placeholder
Sample Request
curl -v -X POST http://127.0.0.1:8990/api/security/update \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
-d '{}'
Responses
200
Update security settings
Sample Response
List allowed country codes
GET
/allowed_country_codes/list
List allowed country codes
Path parameters
-
access_token
string
required
token to be passed as a header
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/security/allowed_country_codes/list \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Sample Response
{}
List disallowed codes
GET
/disallowed_codes/list
List disallowed codes
Path parameters
-
access_token
string
required
token to be passed as a header -
pagination
integer
optional
The pagination of paging. -
pagesize
integer
required
The size of paging. -
sort_by
string
optional
Values include "DEFAULT" and "Optional". Default value will be used when user does not specify value for this field.
Sample Request
curl -v -X GET http://127.0.0.1:8990/api/security/disallowed_codes/list \
-H "Content-Type: application/json" \
-H "access_token: 4DFCF1D4C30B4D798ECE3AE43769F008" \
Responses
200
Successful operation
application/json
-
pagesize
integer
-
count
integer
-
codes
array
-
pagination
integer
-
sort_by
string
Sample Response
{
"pagesize": 10,
"count": 100,
"pagination": 8,
"sort_by": "DEFAULT"
}