younifyd
Menu

Update Source Schedule

Update a source schedule

PUT/rest/organizations/{organizationId}/sources/{sourceId}/schedules/{scheduleId}

Use it in a workflow

  1. Add a step and choose the Coveo connector.
  2. Pick the Update Source Schedule action (under Source).
  3. Fill in the fields below, then reference the result from later steps as {{updateSourceSchedule.response.data}}.

Request

Path parameters

organizationIdstringrequired
sourceIdstringrequired
scheduleIdstringrequired

Request body

Enter the body as JSON in the step's Body field.

enabledboolean
frequencyobject
hourMinuteobject2 fields
monthDayinteger (int32)
seedinteger (int32)
typestring

One ofMINUTELYHOURLYDAILYWEEKLYMONTHLY

valueinteger (int32)
weekDaysarray<string>
idstring
lastExecutionstring (date-time)
organizationIdstring
refreshTypestring

One ofREBUILDFULL_REFRESHINCREMENTAL_REFRESHSECURITY_PROVIDER_REFRESHSECURITY_PROVIDER_REFRESH_ENTITIES_IN_ERRORSECURITY_PROVIDER_REFRESH_ENTITIES_NOT_UPDATEDSECURITY_CACHE_REFRESHSECURITY_CACHE_REFRESH_ENTITIES_IN_ERROR

resourceIdstring
scheduleTypestring

One ofSECURITY_CACHESECURITY_PROVIDERSOURCE

json
{
  "enabled": false,
  "frequency": {
    "hourMinute": {
      "hour": 0,
      "minute": 0
    },
    "monthDay": 0,
    "seed": 0,
    "type": "MINUTELY",
    "value": 0,
    "weekDays": [
      "MONDAY"
    ]
  },
  "id": "string",
  "lastExecution": "2025-01-01T00:00:00Z",
  "organizationId": "string",
  "refreshType": "REBUILD",
  "resourceId": "string",
  "scheduleType": "SECURITY_CACHE"
}

Response

Returns 201 with an object. Read it in later steps with {{updateSourceSchedule.response.data.<field>}}.

enabledboolean
frequencyobject
hourMinuteobject2 fields
monthDayinteger (int32)
seedinteger (int32)
typestring

One ofMINUTELYHOURLYDAILYWEEKLYMONTHLY

valueinteger (int32)
weekDaysarray<string>
idstring
lastExecutionstring (date-time)
organizationIdstring
refreshTypestring

One ofREBUILDFULL_REFRESHINCREMENTAL_REFRESHSECURITY_PROVIDER_REFRESHSECURITY_PROVIDER_REFRESH_ENTITIES_IN_ERRORSECURITY_PROVIDER_REFRESH_ENTITIES_NOT_UPDATEDSECURITY_CACHE_REFRESHSECURITY_CACHE_REFRESH_ENTITIES_IN_ERROR

resourceIdstring
scheduleTypestring

One ofSECURITY_CACHESECURITY_PROVIDERSOURCE

json
{
  "enabled": false,
  "frequency": {
    "hourMinute": {
      "hour": 0,
      "minute": 0
    },
    "monthDay": 0,
    "seed": 0,
    "type": "MINUTELY",
    "value": 0,
    "weekDays": [
      "MONDAY"
    ]
  },
  "id": "string",
  "lastExecution": "2025-01-01T00:00:00Z",
  "organizationId": "string",
  "refreshType": "REBUILD",
  "resourceId": "string",
  "scheduleType": "SECURITY_CACHE"
}

Need more? See the Coveo guide for connection setup and behaviour shared by every action.

Was this page helpful?