---
title: "Update schedule's execution"
method: PUT
path: "/gdc/projects/{projectName}/schedules/{scheduleId}/executions/{executionId}"
tags: ["schedules"]
---

# Update schedule's execution

`PUT /gdc/projects/{projectName}/schedules/{scheduleId}/executions/{executionId}`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/projects/{projectName}/schedules/{scheduleId}/executions/{executionId}`
- Auth: none declared

## Request body

- Execution1
  - `execution` ExecutionCommon, required
    - `createdTime` string
    - `startTime` string
    - `endTime` string
    - `log` string
    - `proxyHost` string
    - `data` string: link to data created by the execution
    - `status` 'SCHEDULED' | 'RUNNING' | 'OK' | 'WARNING' | 'ERROR' | 'CANCELED' | 'TIMEOUT', required
    - `error` object
      - `errorCode` string, required
      - `message` string, required
      - `parameters` string[]

## Response `200`

OK - updates a execution

- Execution
  - `execution` ExecutionResponse, required
    - `createdTime` string
    - `startTime` string
    - `endTime` string
    - `log` string
    - `proxyHost` string
    - `data` string: link to data created by the execution
    - `status` 'SCHEDULED' | 'RUNNING' | 'OK' | 'WARNING' | 'ERROR' | 'CANCELED' | 'TIMEOUT', required
    - `error` object
      - `errorCode` string, required
      - `message` string, required
      - `parameters` string[]
    - `trigger` 'CRON' | 'MANUAL'
    - `links` object
      - `self` string, required

## Other responses

- `400`: Bad Request
- `404`: Not Found - either the project or the schedule doesn't exist

---

[API](https://skmtc.dev/gooddata/apis/gooddata-api-documentation.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/revisions/e5dc0ee6ab00?raw)
