Kaspersky Next XDR Expert

Loading resource file

POST /xdr/api/v2.1/kuma/resources/upload

Access: Main administrator, Tenant administrator, Tier 2 analyst, Tier 1 analyst.

Request body

Encrypted contents of the resource file in binary format.

Response

HTTP code: 200

Format: JSON

File ID. It should be specified in the body of requests for viewing the contents of the file and for importing resources.

type Response struct {     ID string `json:"id"` }

Possible errors

HTTP code

Description

Message field value

Details field value

400

The file size exceeds the maximum allowable (64 MB)

maximum file size is 64 MB

-

403

The user does not have the required roles in any of the tenants

access denied

-

500

Any other internal error

variable

variable