Skip to main content
POST
/
setting
Setting Post
curl --request POST \
  --url https://api.example.com/setting \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'allow_origin=<string>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Body

application/x-www-form-urlencoded
cors_policy_mode
enum<string>
required

CORS permission mode.

Available options:
all,
localapps
allow_origin
string

Response

Successful Response

Last modified on May 27, 2026