Assignment
APIs for managing report assignments
Assigns a user to an MTH/MDR report, or clears the current assignment.
Validation rules:
xsoar_source_idis required. It accepts a string or an array of strings; when an array is supplied only the first element is used and the rest are silently ignored.useris optional. When supplied it is validated against the tenant's user list; an unknown value fails the request. When omitted ornull, the assignment is cleared andusernameis forced tonullregardless of what was sent.usernameis a free-text display name and is not validated.If the report cannot be found, a generic error response is returned.
Response notes:
Returns the updated report in the UPPER_SNAKE_CASE shape (
ReportUpperCase).COMMENTSandATTACHMENTSare alwaysnullon this response — this endpoint reloads the report without its joined comments or parsed attachment list.
Required licenses: MDR, MTH, Managed XSIAM Pro, Managed XSIAM Premium.
Permissions: Users with Instance Administrator privileges only can access these endpoints.
API Key for authentication
API Key ID for authentication
{api_key}
YOUR_API_KEY_HERE{api_key_id}
241XSOAR source ID of the report to update. Accepts a string or an array of strings; only the first element of an array is used.
Identifier (typically email) of the user to assign the report to. Validated against the tenant's users. Omit or set to null to clear the assignment.
Display name of the assignee. Free text; not validated. Forced to null when user is null.
Successful Response
Response for the status-update and assignment-update endpoints. reply.COMMENTS and reply.ATTACHMENTS are always null here.
Bad Request - Invalid parameters or missing required fields
Unauthorized - Invalid or missing API key
Forbidden - Tenant not authorized for this endpoint, or the caller lacks Instance Administrator privileges
Internal Server Error.
Note: most business-logic and input-validation failures on these endpoints are also returned with HTTP 500 and reply.err_code 500, with the specific reason in reply.err_extra. Do not rely on a 400 status to detect a bad request; inspect reply.err_extra.
POST /public_api/v1/mth/child/report/update/assign HTTP/1.1
Host: api-yourfqdn
Authorization: YOUR_API_KEY_HERE
x-xdr-auth-id: 241
Content-Type: application/json
Accept: */*
Content-Length: 85
{
"xsoar_source_id": "777774",
"user": "analyst@company.com",
"username": "Motti Analysto"
}{
"reply": {
"XSOAR_SOURCE_ID": "777771",
"NAME": "Updated Report 5",
"DESCRIPTION": "Updated description",
"CREATED_BY": "Unit42 Threat Hunting",
"INSERT_TIME": 1763468832000,
"UPDATE_TIME": 1765983782000,
"ATTACHMENTS": null,
"INCIDENT_ID": 1,
"REPORT_TYPE": "Threat Report Update",
"SEVERITY": "SEV_040_HIGH",
"COMMENTS": null,
"CLASSIFICATION": "MTH",
"ASSIGNED_USER": "analyst@company.com",
"ASSIGNED_USER_PRETTY": "Motti Analysto",
"REPORT_STATUS": "ON_HOLD"
}
}Last updated
Was this helpful?
