Allowed country codes
List allowed region or country codes.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200
OK
application/json
4XX
Error
get
/allowed_country_codesGET /api/allowed_country_codes HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
"text"
]
}Update allowed region or country codes.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
itemsstring[]Optional
A collection of allowed region or country codes.
Responses
200
OK
No content
4XX
Error
post
/allowed_country_codesPOST /api/allowed_country_codes HTTP/1.1
Host: HOSTNAME:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"items": [
"text"
]
}No content