ZITADEL Docs
APIsCore ResourcesV2Action

SetExecution

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

condition?|||

Condition defining when the execution should be used.

targets?targets

Ordered list of targets called during the execution.

[key: string]?never

Response Body

application/json

application/json

curl -X PUT "https://loading/v2/actions/executions" \  -H "Content-Type: application/json" \  -d '{}'
{
  "setDate": "1s"
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?