curl --request PUT \
--url 'https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/functions/{functionType}/{functionId}?hapikey=' \
--header 'Content-Type: text/plain' \
--data '<string>'{
"functionType": "POST_ACTION_EXECUTION",
"id": "<string>"
}Atualize uma função para uma determinada definição por ID.
curl --request PUT \
--url 'https://api.hubapi.com/automation/v4/actions/{appId}/{definitionId}/functions/{functionType}/{functionId}?hapikey=' \
--header 'Content-Type: text/plain' \
--data '<string>'{
"functionType": "POST_ACTION_EXECUTION",
"id": "<string>"
}POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS The body is of type string.
successful operation
O tipo de função. Os valores aceitos são: POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS.
POST_ACTION_EXECUTION, POST_FETCH_OPTIONS, PRE_ACTION_EXECUTION, PRE_FETCH_OPTIONS O identificador exclusivo da função.