Initiate Transaction
Initiates a transaction to submit multiple requests.
Submits multiple requests to ThreatSync Management API endpoints at the same time.
post/v1/transact
Request
- Base URLhttps://api.usa.cloud.watchguard.com/rest/threatsync/management
- AuthAPI key in header WatchGuard-API-Key and HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
[
{
"path": "/v1/<accountId>/incidents/<incidentId>/actions",
"method": "POST",
"data": {
"command": "blockAddress",
"parameters": {
"address": "3.3.3.3"
},
"entityId": "96"
}
},
{
"path": "/v1/<accountId>/actions",
"method": "POST",
"data": {
"command": "blockAddress",
"parameters": {
"address": "3.3.3.3"
},
"entityId": "96",
"comment": "Optional comment for a create action for an incident."
}
},
{
"path": "/v1/<accountId>/incidents/<incidentId>",
"method": "PATCH",
"data": {
"status": "closed",
"comment": "Optional comment for an incident status update."
}
}
]Response
Successful response.
Example response
[
{
"id": "cd08f4a339fb40feb4ee69314cdb1f8c",
"account": "WCG-1-123abc456 or ACC-1234567",
"entityType": "firebox",
"parameters": {
"address": "3.3.3.3"
},
"type": "manual",
"responder": "System",
"creationTime": "2023-09-27T06:44:34Z",
"command": "blockAddress",
"lastUpdateTime": "2023-09-27T06:44:34Z",
"initiatedBy": "ffc1c30697abdc4e_rw_id",
"incidentId": "ch3hmad3u2h464hfedi0",
"status": "inProgress",
"history": [
{
"lastUpdateTime": "2023-09-27T06:44:34Z",
"status": "inProgress"
}
]
}
]Changes
No recorded changes to this operation across all 1 revision of this API.