Update allowed country codes
POST
/allowed_country_codes/update
Path parameters
-
access_tokenstring
required
token to be passed as a header
Request body
application/json
-
codesarray
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_tokenstring
required
token to be passed as a header
Request body
application/json
-
descriptionstring
required
Placeholder -
number_prefixstring
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
-
idinteger
Sample Response
{}
show security settings
GET
/show
show security settings
Path parameters
-
access_tokenstring
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
-
sipobject
Show child attributes -
web_loginobject
Show child attributesPlaceholder
Sample Response
{}
Destroy disallowed codes
POST
/disallowed_codes/destroy
Destroy disallowed codes
Path parameters
-
access_tokenstring
required
token to be passed as a header
Request body
application/json
-
idinteger
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_tokenstring
required
token to be passed as a header
Request body
application/json
-
sipobject
required
Show child attributes -
web_loginobject
required
Show child attributesPlaceholder
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_tokenstring
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_tokenstring
required
token to be passed as a header -
paginationinteger
optional
The pagination of paging. -
pagesizeinteger
required
The size of paging. -
sort_bystring
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
-
pagesizeinteger
-
countinteger
-
codesarray
Show child attributes -
paginationinteger
-
sort_bystring
Sample Response
{
"pagesize": 10,
"count": 100,
"pagination": 8,
"sort_by": "DEFAULT"
}