Skip to main content
PATCH
C#

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The id of the action to update.

Body

name
string
default:my-action

The name of an action.

supported_triggers
object[]

The list of triggers that this action supports. At this time, an action can only target a single trigger at a time.

Minimum array length: 1
code
string
default:module.exports = () => {}

The source code of the action.

dependencies
object[]

The list of third party npm modules, and their versions, that this action depends on.

runtime
string
default:node22

The Node runtime. For example: node22, defaults to node22

secrets
object[]

The list of secrets that are included in an action or a version of an action.

modules
object[]

The list of action modules and their versions used by this action.

Response

Action successfully updated.

id
string
default:910b1053-577f-4d81-a8c8-020e7319a38a

The unique ID of the action.

name
string
default:my-action

The name of an action.

supported_triggers
object[]

The list of triggers that this action supports. At this time, an action can only target a single trigger at a time.

Minimum array length: 1
all_changes_deployed
boolean
default:false

True if all of an Action's contents have been deployed.

created_at
string<date-time>
default:2021-01-01T00:00:00.000Z

The time when this action was created.

updated_at
string<date-time>
default:2021-01-01T00:00:00.000Z

The time when this action was updated.

code
string
default:module.exports = () => {}

The source code of the action.

dependencies
object[]

The list of third party npm modules, and their versions, that this action depends on.

runtime
string
default:node22

The Node runtime. For example: node22, defaults to node22

secrets
object[]

The list of secrets that are included in an action or a version of an action.

deployed_version
object

The version of the action that is currently deployed.

installed_integration_id
string
default:7d2bc0c9-c0c2-433a-9f4e-86ef80270aad

installed_integration_id is the fk reference to the InstalledIntegration entity.

integration
object

Integration defines a self contained functioning unit which partners publish. A partner may create one or many of these integrations.

status
enum<string>
default:built

The build status of this action.

Available options:
pending,
building,
packaged,
built,
retrying,
failed
built_at
string<date-time>
default:2021-01-01T00:00:00.000Z

The time when this action was built successfully.

deploy
boolean
default:false

True if the action should be deployed after creation.

modules
object[]

The list of action modules and their versions used by this action.