v50

latestOpenAPI 3.1.0raw.githubusercontent.com2025-06-09181183330.0 KB
functions

Execute a function

Execute a function for testing.

post/groups/{groupId}/apps/{appId}/debug/execute_function

Query parameters

user_idstring required

The user as which to execute the function. Either user_id or run_as_system is required. You cannot specify both.

run_as_systemboolean required

Determine whether or not to run as system user. Either run_as_system or user_id is required. You cannot specify both.

Request body

servicestring

The service to use when calling this function.

namestring required

The name of the function you want to run.

argumentsstring[]

Any arguments that your function needs.

Response

Successfully executed.

errorobject
{"stackTrail":"paths:/groups/{groupId}/apps/{appId}/debug/execute_function:post:responses:200:content:application/json:schema:properties:logs","oasType":"schema","type":"unknown"}
resultobject