Skip to main content

Create a target

POST 

/v3alpha/targets

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

Request​

Body

required

    name stringrequired

    Possible values: non-empty and <= 200 characters

    Unique name of the target.

    restWebhook

    object

    Wait for response but response body is ignored, status is checked, call is sent as post.

    interruptOnError boolean

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

    restCall

    object

    Wait for response and response body is used, status is checked, call is sent as post.

    interruptOnError boolean

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

    restAsync object

    Call is executed in parallel to others, ZITADEL does not wait until the call is finished. The state is ignored, call is sent as post.

    timeout stringrequired

    Timeout defines the duration until ZITADEL cancels the execution.

    endpoint stringrequired

    Possible values: non-empty and <= 1000 characters

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 (string)
Loading...