POST /Command/OverwriteGlobalList
Overwrite the specified global list content by the given JSON Object Array.
Request
Authentication: API keys or JSON web tokens (JWT)
Body Parameters Username
string
Required
The username of your D3 SOAR account.
Site
string
Required
The D3 SOAR site to run the remote command.
Global List Name
string
Optional
The name of the global list.
Global List Content
array<JSON Object>
Optional
The content used to overwrite the global list.
Body Sample Data application/json
JSON
{
"Username": "Admin",
"Site": "Security Operations",
"CommandParams": {
"Global List Name": "MacToSysNameMappingList",
"Global List Content": [
{
"GroupID": 2,
"SystemName": "D3Lab-AD",
"MACAddress": "020806A536xx"
},
{
"GroupID": 2,
"SystemName": "D3LAB02",
"MACAddress": "090706B536xx"
},
{
"GroupID": 7,
"SystemName": "D3CYBER-PC1",
"MACAddress": "000C29D576xx"
}
]
}
}
Response
application/json
Response Fieldserror
string
The error message if the API request has failed.
returnData
string
The return data from the API request.
contextData
array<JSON Object>
The context data from the API request.
Sample Data
JSON
{
"error": "",
"returnData": "Succeed",
"contextData": [
{
"GroupID": 2,
"SystemName": "D3Lab-AD",
"MACAddress": "020806A536xx"
},
{
"GroupID": 2,
"SystemName": "D3LAB02",
"MACAddress": "090706B536xx"
},
{
"GroupID": 7,
"SystemName": "D3CYBER-PC1",
"MACAddress": "000C29D576xx"
}
]
}
application/json
Response FieldsError
string
A error message when the API request fails.
Sample Data
JSON
{"Error": "The body of the request must be a valid JSON object"}
application/json
Response FieldsError
string
A error message when the API request fails.
Sample Data
JSON
{"Error": "Invalid authentication key."}
application/json
Response FieldsError
string
A error message when the API request fails.
Sample Data
JSON
{"Error": "The request exceeds rate limits or is otherwise blocked by rate limiting policies."}
application/json
Response FieldsError
string
A error message when the API request fails.
Sample Data
JSON
{"Error": "Unexpected Error."}