Skip to main content

Update a target

PUT 

/v3alpha/targets/:targetId

Update an existing target.

Request​

Path Parameters

    targetId stringrequired

    unique identifier of the target.

Body

required

    name string

    Possible values: non-empty and <= 200 characters

    Optionally change the 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 string

    Optionally change the timeout, which defines the duration until ZITADEL cancels the execution.

    endpoint string

    Possible values: <= 1000 characters

Responses​

Target successfully updated

Schema

    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...