Search documentation
karat

+

K

User Documentation ↗
Version 1.0

Modify Intel On a Target

PUT/api/gotham/v1/twb/modifyTargetIntel/{rid}

Modify Intel on Target by RID and IntelId

Path parameters

rid
string

Target RID

Query parameters

preview
booleanoptional

Represents a boolean value that restricts an endpoint to preview mode when set to true.

Request body

ModifyTargetIntelRequest
object

Request body to modify intel attached to a Target by TargetRID and IntelId.

Hide child attributes

Hide child attributes

intel
list<ModifyTargetIntelData>optional
Show child attributes

Show child attributes

Response body

ModifyTargetIntelResponse
object

Success response.

Hide child attributes

Hide child attributes

updatedIntelIds
list<IntelId>optional
Show child attributes

Show child attributes

Examples

Request

Copied!
1 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/gotham/v1/twb/modifyTargetIntel/ri.gotham-artifact.0-0.target.example?preview=true" \ -d '{ "intel": [ { "id": "Example Intel Id", "name": "Example Intel Name", "description": "Intel containing location.", "intelDomain": "GEOINT", "validTime": "2023-10-04T14:48:00.000Z", "location": { "center": { "longitude": 0, "latitude": 0, "elevation": 0 }, "radius": 1.1 }, "confidence": 3, "intelType": { "type": "geotimeObservation", "geotimeTrack": "ri.gotham.0-0.geotime-track.aa.bb.cc.example" } } ] }'