CTIX
Network live
CTIXPUT

Update Collection

Source docs
PUThttps://cs-testv2.cyware.com/ctixapi/publishing/collection/{collection_id}/

Use this API to update any attributes of a collection.

Path Parameters

NameTypeRequiredDescription
collection_idstringoptional

Pass the ID of the collection to update.

Body Parameters

NameTypeRequiredDescription
pollingbooleanoptional

Pass true if polling is allowed, else pass false.

inboxbooleanoptional

Pass true if the inbox is allowed, else pass false.

namestringoptional

Pass the name for the collection.

descriptionstringoptional

Pass the description for the collection.

marking_configstringoptional

Pass the data marking type.

default_marking_definitionstringoptional

Pass the default marking definition data.

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/publishing/collection/b28f4656-d674-48da-b0e0-14b282f40c9b/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E" \
  --data '{
  "polling": true,
  "inbox": true,
  "name": "Sample Name",
  "description": "Sample description",
  "marking_config": "tlp",
  "default_marking_definition": "AMBER"
}'

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

JavaScript
const url = "https://cs-testv2.cyware.com/ctixapi/publishing/collection/b28f4656-d674-48da-b0e0-14b282f40c9b/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E";

const response = await fetch(url, {
  method: "PUT",
  headers: {},
  body: JSON.stringify({
    "polling": true,
    "inbox": true,
    "name": "Sample Name",
    "description": "Sample description",
    "marking_config": "tlp",
    "default_marking_definition": "AMBER"
  }),
});

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/publishing/collection/b28f4656-d674-48da-b0e0-14b282f40c9b/"
params = {
    "AccessID": "<your access id>",
    "Signature": "<your signature>",
    "Expires": "<your expires>"
}
headers = {}
payload = {
  "polling": true,
  "inbox": true,
  "name": "Sample Name",
  "description": "Sample description",
  "marking_config": "tlp",
  "default_marking_definition": "AMBER"
}
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
{
  "polling": true,
  "inbox": true,
  "name": "Sample Name",
  "description": "Sample description",
  "marking_config": "tlp",
  "default_marking_definition": "AMBER"
}

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

Example Response
{
  "id": "b28f4656-d674-48da-b0e0-14b282f40c9b",
  "name": "Sample Name",
  "description": "Sample description",
  "type": "DATA_FEED",
  "is_active": true,
  "created": 1722599947,
  "modified": 1722600326,
  "is_editable": true,
  "created_by": "test@cyware.com",
  "polling": true,
  "inbox": true,
  "marking_config": "tlp",
  "default_marking_definition": {}
}

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