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
- 200
- 400
- default
Returned when the invocation succeeds
Response Headers
X-Request-Id
Request ID
Returned when the function call fails
Response Headers
X-Request-Id
Request ID
Common error information, see https://docs.cloudbase.net/error-code/service for details
Response Headers
X-Request-Id
Request ID