Set the country code allowlist for a project and delivery method, overwriting any existing allowlist.
Set allowed country codes
Path parameters
The ID of the project the country code allowlist belongs to
The delivery method of the country code allowlist to set, either sms or whatsapp
Body parameters
A list of allowed country codes to set for the project and delivery method. Each country code must be in the format of a two-letter ISO 3166-1 alpha-2 code (e.g. US for the United States).
Response fields
Globally unique UUID that is returned with every API call. This value is important to log for debugging purposes; we may ask for this value to help identify a specific API call when helping you debug an issue.
The HTTP status code of the response. Stytch follows standard HTTP response status code patterns, e.g. 2XX values equate to success, 3XX values are redirects, 4XX are client errors, and 5XX are server errors.
The allowed country codes that were set for the project and delivery method