Skip to Content
ZITADEL Docs
APIsCore ResourcesV2Action

Set Execution

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
PUT
/v2/actions/executions

Request Body

application/json
  1. body
condition?|||

Condition defining when the execution should be used.

targets?array<string>

Ordered list of targets called during the execution.

Response Body

Success

application/json
  1. response
setDate?set_date

The timestamp of the execution set.

Formatdate-time
Example Request
curl -X PUT 'https://example.com/v2/actions/executions' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response200
{  "setDate": "2023-01-15T01:30:15.01Z"}

Was this page helpful?