Modify Intel on Target by RID and IntelId.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:target-write.
objectlist<ModifyTargetIntelData>optionalobjectThe response body returned when modifying intel attached to a target.
list<IntelId>optional1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
curl -X PUT \
\t-H "Content-type: application/json" \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/targetWorkbench/targets/ri.gotham-artifact.0-0.target.example/modifyTargetIntel" \
-d '{
"intel": [
{
"domain": "SIGINT",
"confidence": 3,
"name": "Example Intel Name",
"description": "Intel containing location.",
"intelType": {
"type": "geotimeObservation",
"geotimeTrack": "ri.gotham.0-0.geotime-track.aa.bb.cc.example"
},
"validTime": "2023-10-04T14:48:00.000Z",
"location": {
"center": {
"elevation": 0,
"latitude": 0,
"longitude": 0
},
"radius": 1.1
},
"id": "Example Intel Id"
}
]
}'1
2
3
4
5
{
"updatedIntelIds": [
"Example Intel Id"
]
}| Error Name | ||
|---|---|---|
Target | Error Code | INVALID_ARGUMENT |
| Status Code | 400 | |
| Description | Cannot find target from provided rid. | |
| Parameters | targetRid | |
Modify | Error Code | PERMISSION_DENIED |
| Status Code | 403 | |
| Description | Could not modifyTargetIntel the Target. | |
| Parameters | targetRid | |
See Errors for a general overview of errors in the platform.