Set Execution
PUT/v2beta/actions/executions
Sets an execution to call a target or include the targets of another execution. Setting an empty list of targets will remove all targets from the execution, making it a noop.
Required permission:
action.execution.write
Required feature flag:
actions
Request​
- application/json
- application/grpc
- application/grpc-web+proto
Body
required
Array [
]
condition
object
Condition defining when the execution should be used.
request
object
Condition-type to execute if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
response
object
Condition-type to execute on response if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
function
object
Condition-type to execute if function is used, replaces actions v1.
event
object
Condition-type to execute if an event is created in the system.
Possible values: non-empty
and <= 1000 characters
Event name as condition.
Possible values: non-empty
and <= 1000 characters
Event group as condition, all events under this group.
all events as condition.
targets
object[]
Ordered list of targets/includes called during the execution.
Unique identifier of existing target to call.
include
object
Unique identifier of existing execution to include targets of.
request
object
Condition-type to execute if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
response
object
Condition-type to execute on response if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
function
object
Condition-type to execute if function is used, replaces actions v1.
event
object
Condition-type to execute if an event is created in the system.
Possible values: non-empty
and <= 1000 characters
Event name as condition.
Possible values: non-empty
and <= 1000 characters
Event group as condition, all events under this group.
all events as condition.
Body
required
Array [
]
condition
object
Condition defining when the execution should be used.
request
object
Condition-type to execute if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
response
object
Condition-type to execute on response if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
function
object
Condition-type to execute if function is used, replaces actions v1.
event
object
Condition-type to execute if an event is created in the system.
Possible values: non-empty
and <= 1000 characters
Event name as condition.
Possible values: non-empty
and <= 1000 characters
Event group as condition, all events under this group.
all events as condition.
targets
object[]
Ordered list of targets/includes called during the execution.
Unique identifier of existing target to call.
include
object
Unique identifier of existing execution to include targets of.
request
object
Condition-type to execute if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
response
object
Condition-type to execute on response if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
function
object
Condition-type to execute if function is used, replaces actions v1.
event
object
Condition-type to execute if an event is created in the system.
Possible values: non-empty
and <= 1000 characters
Event name as condition.
Possible values: non-empty
and <= 1000 characters
Event group as condition, all events under this group.
all events as condition.
Body
required
Array [
]
condition
object
Condition defining when the execution should be used.
request
object
Condition-type to execute if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
response
object
Condition-type to execute on response if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
function
object
Condition-type to execute if function is used, replaces actions v1.
event
object
Condition-type to execute if an event is created in the system.
Possible values: non-empty
and <= 1000 characters
Event name as condition.
Possible values: non-empty
and <= 1000 characters
Event group as condition, all events under this group.
all events as condition.
targets
object[]
Ordered list of targets/includes called during the execution.
Unique identifier of existing target to call.
include
object
Unique identifier of existing execution to include targets of.
request
object
Condition-type to execute if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
response
object
Condition-type to execute on response if a request on the defined API point happens.
Possible values: non-empty
and <= 1000 characters
GRPC-method as condition.
Possible values: non-empty
and <= 1000 characters
GRPC-service as condition.
All calls to any available services and methods as condition.
function
object
Condition-type to execute if function is used, replaces actions v1.
event
object
Condition-type to execute if an event is created in the system.
Possible values: non-empty
and <= 1000 characters
Event name as condition.
Possible values: non-empty
and <= 1000 characters
Event group as condition, all events under this group.
all events as condition.
Responses​
- 200
- 400
- 403
- 404
- default
Execution successfully updated or left unchanged
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
The timestamp of the execution set.
{
"setDate": "2024-12-18T07:50:47.492Z"
}
- Schema
- Example (from schema)
Schema
The timestamp of the execution set.
{
"setDate": "2024-12-18T07:50:47.492Z"
}
- Schema
- Example (from schema)
Schema
The timestamp of the execution set.
{
"setDate": "2024-12-18T07:50:47.492Z"
}
Condition to set execution does not exist or the feature flag actions
is not enabled.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
Schema
any
- Schema
Schema
any
- Schema
Schema
any
Returned when the user does not have permission to access the resource.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Returned when the resource does not exist.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
An unexpected error response.
- application/json
- application/grpc
- application/grpc-web+proto
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
Array [
]
details
object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}