Skip to main content

Update Source Schedule (Partial)

PATCH 

/sources/:sourceId/schedules/:scheduleType

Use this API to selectively update an existing Schedule using a JSONPatch payload.

The following schedule fields are immutable and cannot be updated:

  • type

Request

Path Parameters

    sourceId stringrequired

    The Source id.

    Example: 2c9180835d191a86015d28455b4a2329
    scheduleType stringrequired

    Possible values: [ACCOUNT_AGGREGATION, GROUP_AGGREGATION]

    The Schedule type.

    Example: ACCOUNT_AGGREGATION

Body

array

required

The JSONPatch payload used to update the schedule.

  • Array [

  • op stringrequired

    Possible values: [add, remove, replace, move, copy, test]

    The operation to be performed

    path stringrequired

    A string JSON Pointer representing the target path to an element to be affected by the operation

    value

    object

    The value to be used for the operation, required for "add" and "replace" operations

    oneOf

    string

  • ]

Responses

The Schedule was successfully updated.

Schema

    type stringrequired

    Possible values: [ACCOUNT_AGGREGATION, GROUP_AGGREGATION]

    The type of the Schedule.

    cronExpression stringrequired

    The cron expression of the schedule.

Loading...