All Products
Search
Document Center

Function Compute:PathConfig

Last Updated:Aug 28, 2026

Parameter

Type

Description

Example

object

The custom domain name configurations.

functionName

string

The name of the function.

myFunction

methods

array

The supported HTTP methods.

string

The HTTP method. Supported values: HEAD, GET, POST, PUT, DELETE, PATCH, and OPTIONS.

GET

path

string

The route matching rule.

/api/*

qualifier

string

The function version or alias.

myAlias

rewriteConfig RewriteConfig

The URL rewrite configuration.