Update an entity scheduled report
PATCH/projects/{projectId}/entities/{entityId}/scheduledReports/{scheduledReportId}
Base URL: https://api.tinkermode.com
Update configuration of the scheduled report with the specified ID.
Authentication
Send an Authorization header of the form ModeCloud <AUTH_CODE>.
Must contain the key of a user or service account with permissions to update entity scheduled reports, or a project API key with admin permission.
Path parameters
| Name | Type | Required | Constraints | Description |
|---|---|---|---|---|
projectId | integer | Yes | The unique ID for a specified project. | |
entityId | string | Yes | Entity ID (unique within project) | |
scheduledReportId | integer | Yes | The unique ID for a specific scheduled report. |
Request body
Content type: application/json
| Property | Type | Required | Constraints | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
contents | string | No | YAML configuration for report sections including entities and queries | |||||||||||||||||||||
description | string | No | Description of the scheduled report | |||||||||||||||||||||
directDestination | array<object> | No | Direct rooms to send the report to | |||||||||||||||||||||
| ||||||||||||||||||||||||
enabled | boolean | No | Whether the scheduled report is enabled | |||||||||||||||||||||
reportSchedule | object | No | ||||||||||||||||||||||
| ||||||||||||||||||||||||
slackDestination | array<object> | No | Slack channels to send the report to | |||||||||||||||||||||
| ||||||||||||||||||||||||
teamsDestination | array<object> | No | MS Teams channels to send the report to | |||||||||||||||||||||
| ||||||||||||||||||||||||
title | string | No | Title of the scheduled report | |||||||||||||||||||||
Responses
204 Successfully updated the specified scheduled report.
401 Authorization is required to access this resource.
Content type: application/json
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
403 Invalid parameters or permission denied.
404 Scheduled report not found.
429 Request failed because of rate limit.
Content type: application/json
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
500 An unexpected error has occurred.
Content type: application/json
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |
503 The service is temporarily unavailable.
Content type: application/json
| Property | Type | Required | Constraints | Description |
|---|---|---|---|---|
data | object | No | read-only (server-generated) | Any relevant data related to error. |
reason | string | Yes | read-only (server-generated) | Reason of error. |