CTIX
Network live
CTIXPUT

Update Task

Source docs
PUThttps://cs-testv2.cyware.com/ctixapi/ingestion/tasks/{task_id}/

Updates the details of a task.

Path Parameters

NameTypeRequiredDescription
task_idstringoptional

Pass the unique identifier of a task to update the details.

Body Parameters

NameTypeRequiredDescription
creatednumberoptional

Pass the epoch time of the last created date.

modifiednumberoptional

Pass the epoch time of the last modified date.

created_bystringoptional

Pass the details of the user who created the report.

assigneestringrequired

Pass the ID of a user to assign the task.

textstringoptional

Pass the description of the task to be performed.

prioritystringoptional

Pass the priority of the task.

statusstringoptional

Pass the status of the task.

deadlinenumberoptional

Pass the deadline information.

closure_commentobjectoptional

Pass the comment to close the task.

completed_onobjectoptional

Pass the date of completion of the task.

typestringoptional

Pass the type of the threat data object. For example: indicator, malware, vulnerability, campaign, and more.

object_idstringoptional

Pass the ID of the threat data object to associate the task.

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
Request body (JSON)Valid JSON
cURL
curl --request PUT \
  --url "https://cs-testv2.cyware.com/ctixapi/ingestion/tasks/c838ad2b-af11-4a32-9e45-088f2e7d55c6/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E" \
  --data '{
  "created": 1630394661,
  "modified": 1630394661,
  "created_by": "0eea7e23-9670-4c5f-9742-2666ddf0be74",
  "assignee": "0eea7e23-9670-4c5f-9742-2666ddf0be74",
  "text": "Verify this indicator!",
  "priority": "high",
  "status": "not_started",
  "deadline": 1633393469,
  "closure_comment": {},
  "completed_on": {},
  "type": "indicator",
  "object_id": "92686150-58e5-4f15-be64-f3e123efd825"
}'

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

JavaScript
const url = "https://cs-testv2.cyware.com/ctixapi/ingestion/tasks/c838ad2b-af11-4a32-9e45-088f2e7d55c6/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E";

const response = await fetch(url, {
  method: "PUT",
  headers: {},
  body: JSON.stringify({
    "created": 1630394661,
    "modified": 1630394661,
    "created_by": "0eea7e23-9670-4c5f-9742-2666ddf0be74",
    "assignee": "0eea7e23-9670-4c5f-9742-2666ddf0be74",
    "text": "Verify this indicator!",
    "priority": "high",
    "status": "not_started",
    "deadline": 1633393469,
    "closure_comment": {},
    "completed_on": {},
    "type": "indicator",
    "object_id": "92686150-58e5-4f15-be64-f3e123efd825"
  }),
});

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/tasks/c838ad2b-af11-4a32-9e45-088f2e7d55c6/"
params = {
    "AccessID": "<your access id>",
    "Signature": "<your signature>",
    "Expires": "<your expires>"
}
headers = {}
payload = {
  "created": 1630394661,
  "modified": 1630394661,
  "created_by": "0eea7e23-9670-4c5f-9742-2666ddf0be74",
  "assignee": "0eea7e23-9670-4c5f-9742-2666ddf0be74",
  "text": "Verify this indicator!",
  "priority": "high",
  "status": "not_started",
  "deadline": 1633393469,
  "closure_comment": {},
  "completed_on": {},
  "type": "indicator",
  "object_id": "92686150-58e5-4f15-be64-f3e123efd825"
}
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
{
  "created": 1630394661,
  "modified": 1630394661,
  "created_by": "0eea7e23-9670-4c5f-9742-2666ddf0be74",
  "assignee": "0eea7e23-9670-4c5f-9742-2666ddf0be74",
  "text": "Verify this indicator!",
  "priority": "high",
  "status": "not_started",
  "deadline": 1633393469,
  "closure_comment": {},
  "completed_on": {},
  "type": "indicator",
  "object_id": "92686150-58e5-4f15-be64-f3e123efd825"
}

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

Example Response
{
  "id": "0434c6f6-fa28-4d5f-9e0d-d3f4c1ffcb5a",
  "created": 1630394661,
  "modified": 1630394817,
  "created_by": "(unknown)",
  "assignee": "5555f14c-6130-4e58-a2da-33e1a85b5a64",
  "text": "Verify this indicator!",
  "priority": "high",
  "status": "not_started",
  "deadline": 1633393469,
  "closure_comment": {},
  "completed_on": {},
  "type": "indicator",
  "object_id": "92686150-58e5-4f15-be64-f3e123efd825",
  "is_removed": 0
}

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