Skip to main content

Invoke cloud function

POST 

/v1/functions/:name

Invoke the specified cloud function.

Function invocation permissions are subject to cloud function security rules and identity authentication. Ensure the requesting identity has the required permissions to invoke the target cloud function.

For cloud function security rules, see Cloud Function Security Rules.

💡 Tip: If function invocation is blocked by security rules, you may encounter the error code: EXCEED_AUTHORITY

💡 Tip: If function invocation is blocked by the identity authentication mechanism, you may encounter the error code: ACTION_FORBIDDEN

Request

Responses

Returned when the invocation succeeds

Response Headers
    X-Request-Id

    Request ID