curl --request POST \
--url https://api.example.com/actions/{action_id} \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"title": "<string>",
"description": "<string>",
"status": "<string>",
"inputs": "",
"control_flow": {
"run_if": "<string>",
"for_each": "<string>",
"join_strategy": "all",
"retry_policy": {
"max_attempts": 1,
"timeout": 300,
"retry_until": "<string>"
},
"start_delay": 0,
"wait_until": "<string>"
},
"is_interactive": true,
"interaction": {
"type": "<string>",
"timeout": 123
}
}
'{
"id": "<string>",
"type": "<string>",
"title": "<string>",
"description": "<string>",
"status": "<string>",
"inputs": "<string>",
"is_interactive": true,
"control_flow": {
"run_if": "<string>",
"for_each": "<string>",
"join_strategy": "all",
"retry_policy": {
"max_attempts": 1,
"timeout": 300,
"retry_until": "<string>"
},
"start_delay": 0,
"wait_until": "<string>"
},
"interaction": {
"type": "<string>",
"timeout": 123
}
}Update an action.
curl --request POST \
--url https://api.example.com/actions/{action_id} \
--header 'Content-Type: application/json' \
--cookie fastapiusersauth= \
--data '
{
"title": "<string>",
"description": "<string>",
"status": "<string>",
"inputs": "",
"control_flow": {
"run_if": "<string>",
"for_each": "<string>",
"join_strategy": "all",
"retry_policy": {
"max_attempts": 1,
"timeout": 300,
"retry_until": "<string>"
},
"start_delay": 0,
"wait_until": "<string>"
},
"is_interactive": true,
"interaction": {
"type": "<string>",
"timeout": 123
}
}
'{
"id": "<string>",
"type": "<string>",
"title": "<string>",
"description": "<string>",
"status": "<string>",
"inputs": "<string>",
"is_interactive": true,
"control_flow": {
"run_if": "<string>",
"for_each": "<string>",
"join_strategy": "all",
"retry_policy": {
"max_attempts": 1,
"timeout": 300,
"retry_until": "<string>"
},
"start_delay": 0,
"wait_until": "<string>"
},
"interaction": {
"type": "<string>",
"timeout": 123
}
}act-[0-9a-f]{32}1 - 1001000300000Show child attributes
An interaction configuration
Show child attributes
Successful Response
act-[0-9a-f]{32}Show child attributes
An interaction configuration
Show child attributes
Was this page helpful?