Skip to main content

Create a target​

Create a new target, which can be used in executions.

Request Body required
    name string required

    Possible values: non-empty and <= 200 characters

    Unique name of the target.

    restWebhook object
    url string required

    Possible values: non-empty and <= 1000 characters

    restRequestResponse object
    url string required

    Possible values: non-empty and <= 1000 characters

    timeout string required

    Timeout defines the duration until ZITADEL cancels the execution.

    isAsync boolean

    Set the execution to run asynchronously.

    interruptOnError boolean

    Define if any error stops the whole execution. By default the process continues as normal.

Responses

A successful response.


Schema
    id string

    ID is the read-only unique identifier of the target.

    details object

    Details provide some base information (such as the last change date) of the target.

    sequence uint64

    on read: the sequence of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    changeDate date-time

    on read: the timestamp of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    resourceOwner resource_owner is the organization or instance_id an object belongs to
Loading...