CTIX
Network live
CTIXPUT

Update Report

Source docs
PUThttps://cs-testv2.cyware.com/ctixapi/ingestion/reports/{report_id}/

Updates specific fields of a report.

NOTE Do not use this endpoint to update advanced reports.

Path Parameters

NameTypeRequiredDescription
report_idstringoptional

Pass the ID of a report. For example: 87c07bb3-b60c-4279-a5ec-8a38f73f7ea4

Query Parameters

NameTypeRequiredDescription
typestringrequired

Pass the type of report to be created.

Body Parameters

NameTypeRequiredDescription
scheduleobjectoptional

Pass the schedule details such as repeat type, start date and time, duration time, duration value, and repeat value.

namestringoptional

Pass the name of the report.

query_keystringoptional

Pass the key to sort data in the report.

columnsarrayoptional

Pass the list of columns of the report.

internal_recipientsobjectoptional

Pass the list of internal recipients with whom to share the report.

external_recipientsobjectoptional

Pass the list of external recipients with whom to share the report.

typestringoptional

Pass the type of report.

file_typesarrayoptional

Pass the report type, such as CSV, XLS.

shared_typestringoptional

Pass the share type value.

saved_searchobjectoptional

Pass the saved search or custom query details used for generating the report.

Run it

Use the Request parameters panel to enter path IDs, query values, JSON body, and credentials. Then run any snippet below — all languages use the same values. Base URL: https://cs-testv2.cyware.com/ctixapi (change in API Settings).

Playground

Request parameters

Edit values here before running any snippet below (cURL, JavaScript, or Python). Code blocks are reference only — your inputs above are what gets sent.

CTIXConnect to Intel ExchangeRequired to change data
Credentials required for PUT

Open API (HMAC signature) · Get credentials from Cyware Admin → Open API → Generate Credentials.

Signature and Expires are generated when you run a request. Access ID and Secret Key stay in memory for this tab only.

Credentials from Authentication auto-fill here for this product. If fields are empty after connecting, refresh this page or open the product docs again.

Path Parameters
Query Parameters
Request body (JSON)Valid JSON
cURL
curl --request PUT \
  --url "https://cs-testv2.cyware.com/ctixapi/ingestion/reports/{report_id}/?type=basic&AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E" \
  --data '{
  "schedule": {},
  "name": "test_edited",
  "query_key": "ctix_created",
  "columns": [
    {}
  ],
  "internal_recipients": {},
  "external_recipients": {},
  "type": "basic",
  "file_types": [
    "csv"
  ],
  "shared_type": "global",
  "saved_search": {}
}'

View-only example — running live API calls requires a role with snippet testing access.

JavaScript
const url = "https://cs-testv2.cyware.com/ctixapi/ingestion/reports/{report_id}/?type=basic&AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E";

const response = await fetch(url, {
  method: "PUT",
  headers: {},
  body: JSON.stringify({
    "schedule": {},
    "name": "test_edited",
    "query_key": "ctix_created",
    "columns": [
      {}
    ],
    "internal_recipients": {},
    "external_recipients": {},
    "type": "basic",
    "file_types": [
      "csv"
    ],
    "shared_type": "global",
    "saved_search": {}
  }),
});

const text = await response.text();
let data;
try { data = JSON.parse(text); } catch { data = text; }
console.log(response.status, data);

View-only example — running live API calls requires a role with snippet testing access.

Python
import requests

url = "https://cs-testv2.cyware.com/ctixapi/ingestion/reports/{report_id}/"
params = {
    "type": "basic",
    "AccessID": "<your access id>",
    "Signature": "<your signature>",
    "Expires": "<your expires>"
}
headers = {}
payload = {
  "schedule": {},
  "name": "test_edited",
  "query_key": "ctix_created",
  "columns": [
    {}
  ],
  "internal_recipients": {},
  "external_recipients": {},
  "type": "basic",
  "file_types": [
    "csv"
  ],
  "shared_type": "global",
  "saved_search": {}
}
response = requests.request("PUT", url, params=params, headers=headers, json=payload)
print(response.status_code)
print(response.text)

View-only example — running live API calls requires a role with snippet testing access.

Request Body
{
  "schedule": {},
  "name": "test_edited",
  "query_key": "ctix_created",
  "columns": [
    {}
  ],
  "internal_recipients": {},
  "external_recipients": {},
  "type": "basic",
  "file_types": [
    "csv"
  ],
  "shared_type": "global",
  "saved_search": {}
}

View-only example — running live API calls requires a role with snippet testing access.

Example Response
{
  "basic_report_type": "custom",
  "columns": [
    {}
  ],
  "created": 1692188813,
  "created_by": {},
  "date_last_run": {},
  "external_recipients": {},
  "file_types": [
    "csv"
  ],
  "id": "334c3ff3-bfcc-402c-ad6a-e13cb830a602",
  "internal_recipients": {},
  "modified": 1692188813,
  "modified_by": {},
  "name": "Vulnerability Report",
  "query_key": "ctix_created",
  "saved_search": {},
  "schedule": {},
  "shared_type": "global",
  "type": "basic"
}

View-only example — running live API calls requires a role with snippet testing access.