Skip to main content
PATCH
Update an existing action definition

Supported products

Authorizations

hapikey
string
query
required

Path Parameters

appId
integer<int32>
required

The unique identifier of the app associated with the extension definition.

definitionId
string
required

The unique identifier of the extension definition to update.

Body

application/json
actionUrl
string

The URL endpoint where the action is executed.

executionRules
object[]

An array of execution rules that define the conditions under which the action executes. Each item is a PublicExecutionTranslationRule object.

inputFieldDependencies
(SINGLE_FIELD · object | CONDITIONAL_SINGLE_FIELD · object)[]

An array of dependencies between input fields. Each item can be a PublicSingleFieldDependency or a PublicConditionalSingleFieldDependency.

inputFields
object[]

An array of input field definitions required for the action. Each item is a PublicInputFieldDefinition object.

labels
object

Contains labels for the action, including names and descriptions.

objectRequestOptions
object
objectTypes
string[]

An array of strings representing the types of objects associated with the action.

outputFields
object[]

An array of output field definitions that the action will produce. Each item is an OutputFieldDefinition object.

published
boolean

Indicates whether the action is published and available for use.

Response

successful operation

actionUrl
string
required

The URL endpoint where the action is executed. It is a string.

functions
object[]
required

An array of function identifiers associated with the action, where each item is a PublicActionFunctionIdentifier.

id
string
required

The unique identifier for the action definition. It is a string.

inputFields
object[]
required

An array of input field definitions required for the action. Each item is a PublicInputFieldDefinition object.

labels
object
required

An object containing labels for the action, with each property being a PublicActionLabels object.

objectTypes
string[]
required

An array of strings representing the types of objects associated with the action.

published
boolean
required

A boolean indicating whether the action is published and available for use.

revisionId
string
required

The unique identifier for the current revision of the action definition. It is a string.

archivedAt
integer<int64>

A Unix timestamp in milliseconds representing when the action was archived. It is an integer.

executionRules
object[]

An array of execution translation rules for the action, where each item is a PublicExecutionTranslationRule.

inputFieldDependencies
(SINGLE_FIELD · object | CONDITIONAL_SINGLE_FIELD · object)[]

An array of dependencies between input fields, where each item can be a PublicSingleFieldDependency or PublicConditionalSingleFieldDependency.

objectRequestOptions
object
outputFields
object[]

An array of output field definitions produced by the action. Each item is an OutputFieldDefinition object.

Last modified on September 9, 2026