Skip to main content
POST
/
pwa
/
v3
/
projects
/
:project_slug
/
environments
/
:environment_slug
/
allowed_country_codes
/
sms
Setallowedsmscountrycodes
curl --request POST \
  --url https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/allowed_country_codes/sms \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "country_codes": [
    "<string>"
  ]
}
'
{
  "request_id": "<string>",
  "country_codes": [
    "<string>"
  ],
  "status_code": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

project_slug
string
required
environment_slug
string
required

Body

application/json

Request type

country_codes
string[]
required

Response

Successful response

Response type

request_id
string
required
country_codes
string[]
required
status_code
integer<int32>
required