CTIX
Network live
CTIXPUT

Update Location SDO

Source docs
PUThttps://cs-testv2.cyware.com/ctixapi/ingestion/shareable-intel/{intel-id}/location/{location-id}/

Updates a location SDO in the initiated detailed STIX form submission.

Path Parameters

NameTypeRequiredDescription
intel-idstringoptional

Pass the unique ID of the intel submission.

location-idstringoptional

Pass the location ID.

Body Parameters

NameTypeRequiredDescription
created_by_refobjectoptional

Pass the list of IDs and names of the SDO referred.

revokedbooleanoptional

Pass true if the SDO is revoked, else pass false.

labelsarrayoptional

Pass the list of IDs and names of the labels attached to the SDO.

custom_propertiesarrayoptional

Pass the list of unique identifiers for the custom property, type, name, and the value user wishes to add for the same.

tlpobjectoptional

Pass the list of UI labels and values of the TLP.

namestringrequired

Pass the name of the SDO.

descriptionstringoptional

Pass the description of the SDO.

latitudenumberrequired

Pass the latitude of the object.

longitudenumberrequired

Pass the longitude of the object.

precisionnumberoptional

Pass the precision of the object.

regionobjectoptional

Pass the region of the object.

countryobjectrequired

Pass the country for the object.

administrative_areastringoptional

Pass the administrative area for the object.

citystringoptional

Pass the city for the object.

street_addressstringoptional

Pass the street address of the object.

postal_codestringoptional

Pass the postal code of the object.

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/shareable-intel/{intel-id}/location/{location-id}/?AccessID=%3Cyour%20access%20id%3E&Signature=%3Cyour%20signature%3E&Expires=%3Cyour%20expires%3E" \
  --data '{
  "created_by_ref": {},
  "revoked": false,
  "labels": [
    {}
  ],
  "custom_properties": [
    {}
  ],
  "tlp": {},
  "name": "loc 2",
  "description": "loc desc",
  "latitude": 89,
  "longitude": -179,
  "precision": 5,
  "region": {},
  "country": {},
  "administrative_area": "delhi",
  "city": "delhi",
  "street_address": "MG road",
  "postal_code": "pin"
}'

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

JavaScript
const url = "https://cs-testv2.cyware.com/ctixapi/ingestion/shareable-intel/{intel-id}/location/{location-id}/?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_by_ref": {},
    "revoked": false,
    "labels": [
      {}
    ],
    "custom_properties": [
      {}
    ],
    "tlp": {},
    "name": "loc 2",
    "description": "loc desc",
    "latitude": 89,
    "longitude": -179,
    "precision": 5,
    "region": {},
    "country": {},
    "administrative_area": "delhi",
    "city": "delhi",
    "street_address": "MG road",
    "postal_code": "pin"
  }),
});

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/shareable-intel/{intel-id}/location/{location-id}/"
params = {
    "AccessID": "<your access id>",
    "Signature": "<your signature>",
    "Expires": "<your expires>"
}
headers = {}
payload = {
  "created_by_ref": {},
  "revoked": false,
  "labels": [
    {}
  ],
  "custom_properties": [
    {}
  ],
  "tlp": {},
  "name": "loc 2",
  "description": "loc desc",
  "latitude": 89,
  "longitude": -179,
  "precision": 5,
  "region": {},
  "country": {},
  "administrative_area": "delhi",
  "city": "delhi",
  "street_address": "MG road",
  "postal_code": "pin"
}
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_by_ref": {},
  "revoked": false,
  "labels": [
    {}
  ],
  "custom_properties": [
    {}
  ],
  "tlp": {},
  "name": "loc 2",
  "description": "loc desc",
  "latitude": 89,
  "longitude": -179,
  "precision": 5,
  "region": {},
  "country": {},
  "administrative_area": "delhi",
  "city": "delhi",
  "street_address": "MG road",
  "postal_code": "pin"
}

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

Example Response
{
  "created_by_ref": {},
  "tlp": {},
  "revoked": false,
  "labels": [
    {}
  ],
  "custom_properties": [
    {}
  ],
  "name": "loc 2",
  "description": "loc desc",
  "latitude": 89,
  "longitude": -179,
  "precision": 5,
  "region": {},
  "country": {},
  "administrative_area": "delhi",
  "city": "delhi",
  "street_address": "MG road",
  "postal_code": "pin",
  "id": "location--1e8a4fd2-6654-4364-bc76-c22f3ad1a5e0"
}

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