Skip to main content
POST
Create an Attachment

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

investigationId
string<uuid>
required

The unique identifier of an investigation.

Body

multipart/form-data

The POST body is a muilt-part format which includes both the properties as well as the file.

filename
file
required

File in the attachment.

private
boolean

Specifies the visibility of the item. This semantic is only valid when there exists a relationship between a USM Central deployment and a USM Anywhere deployment. When set to true, only the users within the same deployment, USM Central or USM Anywhere, can see the item; the users from the other deployment cannot.

Response

CREATED

Returns an attachment.

id
string<uuid>

Unique identifier of the resource.

private
boolean

Specifies the visibility of the item. This semantic is only valid when there exists a relationship between a USM Central deployment and a USM Anywhere deployment. When set to true, only the users within the same deployment, USM Central or USM Anywhere, can see the item; the users from the other deployment cannot.

name
string

Name of the file.

size
integer

Size of the file in bytes.

uri
string

Location of the file.

created
_mod_on_by · object

Specifies when the resource was created and by whom.

lastModified
lastModified · object

Specifies when the latest modification was made and by whom.