{
  "inference.put_region_policy": {
    "documentation": {
      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-inference-put-region-policy",
      "description": "Create or update the inference region policy"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ],
      "content_type": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_inference/_region_policy",
          "methods": [
            "PUT"
          ]
        }
      ]
    },
    "params": {
      "force": {
        "type": "boolean",
        "default": false,
        "description": "If true, the region policy will be applied even if it would deny access to inference endpoints that are currently in use by ingest pipelines or semantic text fields."
      }
    },
    "body": {
      "description": "The region policy configuration",
      "required": true
    }
  }
}
