---
title: "POST /reporting/schedules/{id}/enable"
method: POST
path: "/reporting/schedules/{id}/enable"
tags: ["Reports"]
---

# POST /reporting/schedules/{id}/enable

`POST /reporting/schedules/{id}/enable`

Enable report schedule.
Schedule must be in status `disabled` and associated template not blocked
to perform this call

## Path parameters

- `id` string, required

## Response `200`

- ReportingReportSchedule — Report Schedule. A report schedule represents a configuration for the periodic execution of a report based on a concrete report template with concrete parameter values in scope of a given account.
  - `id` string
  - `name` string, required
  - `description` string, nullable
  - `events` object
    - `created` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `updated` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `last_execution` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
    - `next_execution` object
      - `at` string, datetime
      - `by` object
        - `id` string
        - `name` string
        - `icon` string
  - `notes` string, nullable
  - `template` ReportingReportTemplateReference, required — Report template. Is used to represent template attached to this report
    - `id` string
    - `name` string, required
    - `description` string, required
    - `type` string, required
    - `specs_version` string, required
    - `revision` integer
    - `repository` ReportingReportRepositoryReference, required — Report repository. Is used to represent repository attached to this report
      - `id` string
      - `name` string, nullable
      - `git` ReportingGitInfo, required — Git Info. Is used to represent git repository information
        - `url` string, uri, required
        - `tag` string, required
        - `commit` string, nullable
        - `auth` ReportingGitCredentials — Git Credentials. Is used to represent input object to request git tags. You need to provide `username` and `password` to your git repository as input data.
          - `username` string, nullable
          - `password` string, nullable
    - `entrypoint` string, required
    - `local_id` string, required
  - `trigger` ReportingReportScheduleTrigger, required — Report Schedule Trigger details. A report schedule trigger provides information about report execution trigger. `frequency` -- frequency of the schedule, one of: `daily` | `weekly` | `monthly`. `time` -- time of the day in UTC report has to be executed (best-effort approach). `day_of_week` -- day of the week trigger is executed. 1-7: Can be null. In case if the frequency is `daily`, this is ignored. 1 - Monday, 7 - Sunday. `day_of_month` -- day of the month trigger is executed. 1-31: can be null. In case if the frequency is `daily`, this is ignored. If current month has no day number set (i.e. February has no day #31) -- report is not executed this month.
    - `frequency` 'daily' | 'weekly' | 'monthly', required
    - `time` string, required
    - `day_of_week` integer, nullable
    - `day_of_month` integer, nullable
  - `parameters` object[], nullable, required
  - `status` 'enabled' | 'disabled'
  - `renderer` string
  - `owner` ReportingAccountReference, required
    - `id` string
    - `name` string, required
  - `stats` ReportingReportScheduleStats, required — Report Schedule Stats. A report schedule stats provides information about report executions based on this schedule. `total_executions` -- total amount of report executions based on this schedule, `average_execution_time` -- average execution time of the report based on this schedule.
    - `total_executions` integer
    - `average_execution_time` integer

## Other responses

- `400`

---

[API](https://skmtc.net/cloudblue/apis/cloudblue-connect-api.md) · [All operations](https://skmtc.net/cloudblue/apis/cloudblue-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudblue/cloudblue-connect-api/versions/54fef191d46c/schema)
