Cors

The cross-origin resource sharing (CORS) settings for your Lambda function URL. Use CORS to grant access to your function URL from any origin. You can also use CORS to control access for specific HTTP headers and methods in requests to your function URL.

APIs.ioEngineeringPlatform

Properties

Name Type Description
AllowCredentials object
AllowHeaders object
AllowMethods object
AllowOrigins object
ExposeHeaders object
MaxAge object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-cors-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Cors",
  "title": "Cors",
  "type": "object",
  "properties": {
    "AllowCredentials": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AllowCredentials"
        },
        {
          "description": "Whether to allow cookies or other credentials in requests to your function URL. The default is <code>false</code>."
        }
      ]
    },
    "AllowHeaders": {
      "allOf": [
        {
          "$ref": "#/components/schemas/HeadersList"
        },
        {
          "description": "The HTTP headers that origins can include in requests to your function URL. For example: <code>Date</code>, <code>Keep-Alive</code>, <code>X-Custom-Header</code>."
        }
      ]
    },
    "AllowMethods": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AllowMethodsList"
        },
        {
          "description": "The HTTP methods that are allowed when calling your function URL. For example: <code>GET</code>, <code>POST</code>, <code>DELETE</code>, or the wildcard character (<code>*</code>)."
        }
      ]
    },
    "AllowOrigins": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AllowOriginsList"
        },
        {
          "description": "<p>The origins that can access your function URL. You can list any number of specific origins, separated by a comma. For example: <code>https://www.example.com</code>, <code>http://localhost:60905</code>.</p> <p>Alternatively, you can grant access to all origins using the wildcard character (<code>*</code>).</p>"
        }
      ]
    },
    "ExposeHeaders": {
      "allOf": [
        {
          "$ref": "#/components/schemas/HeadersList"
        },
        {
          "description": "The HTTP headers in your function response that you want to expose to origins that call your function URL. For example: <code>Date</code>, <code>Keep-Alive</code>, <code>X-Custom-Header</code>."
        }
      ]
    },
    "MaxAge": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MaxAge"
        },
        {
          "description": "The maximum amount of time, in seconds, that web browsers can cache results of a preflight request. By default, this is set to <code>0</code>, which means that the browser doesn't cache results."
        }
      ]
    }
  },
  "description": "The <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS\">cross-origin resource sharing (CORS)</a> settings for your Lambda function URL. Use CORS to grant access to your function URL from any origin. You can also use CORS to control access for specific HTTP headers and methods in requests to your function URL."
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/apis-io-engineering-platform-cors"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.