Allowed country codes

List allowed region or country codes

get

List allowed region or country codes.

Authorizations
Responses
200
OK
application/json
get
GET /api/allowed_country_codes HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "items": [
    "text"
  ]
}

Update allowed region or country codes.

post

Update allowed region or country codes.

Authorizations
Body
itemsstring[]Optional

A collection of allowed region or country codes.

Responses
200
OK
post
POST /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