All Products
Search
Document Center

Function Compute:HTTPTriggerConfig

Last Updated:Jan 29, 2026

Parameter

Type

Description

Example

object

HTTP trigger configuration

authConfig

string

Authentication configuration

{"JWKS":{"foo":"bar"},"TokenLookup":"header:Authorization:Bearer,cookie:AuthorizationCookie","ClaimPassBy":"query:uid:uid,header:name:name"}

authType

string

The authentication type. Valid values are:

  • function: Authentication is required.

  • anonymous: Authentication is not required.

Note

The default type is function.

anonymous

corsConfig CORSConfig

disableURLInternet

boolean

Specifies whether to disable access from the default public domain name. If set to true, accessing the function's default public URL returns a 403 error. If set to false, this parameter has no effect.

true

methods

array

The list of request methods. Multiple methods are supported.

string

The request method. Valid values are:

  • HEAD

  • DELETE

  • POST

  • GET

  • OPTIONS

  • PUT

  • PATCH

GET