Skip to main content
POST
/
api
/
v2
/
file-upload
/
{file_upload_job_id}
Upload File To Job
curl --request POST \
  --url {protocol}://{ApiServer}/api/v2/file-upload/{file_upload_job_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --data '{}'
"[this request has no response data]"
Applies to BloodHound Enterprise and CE

Authorizations

Authorization
string
header
required

Authorization: Bearer $JWT_TOKEN

Headers

Prefer
integer
default:0

Prefer header, used to specify a custom timeout in seconds using the wait parameter as per RFC7240.

Required range: x >= 0
Content-Type
enum<string>
required

Content type header, used to specify the type of content being sent by the client.

Available options:
application/json,
application/zip,
application/zip-compressed,
application/x-zip-compressed
X-File-Upload-Name
string

File upload name header, used to specify the name of the file being uploaded to improve error reporting.

Path Parameters

file_upload_job_id
integer
required

The ID for the file upload job.

Body

application/json · object

The body of the file upload request.

The body is of type object.

Response

No Content This response will contain no response body.

The response is of type string.