Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

POST /config/event_sources/log_source_management/log_source_bulk_tasks/{id}

SUMMARY Updates a log source bulk task. The only field that can be updated is the 'status' field, and the only allowed value is 'CANCELLED'.

Table 1: POST /config/event_sources/log_source_management/log_source_bulk_tasks/{id} resource details:

POST /config/event_sources/log_source_management/log_source_bulk_tasks/{id} resource details

MIME Type

application/json

Table 2: POST /config/event_sources/log_source_management/log_source_bulk_tasks/{id} request parameter details:

POST /config/event_sources/log_source_management/log_source_bulk_tasks/{id} request parameter details

Parameter Type Optionality Data Type MIME Type Description

id

path

Required

String

text/plain

The ID of the log source bulk task to update.

fields

header

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3: POST /config/event_sources/log_source_management/log_source_bulk_tasks/{id} request body details:

POST /config/event_sources/log_source_management/log_source_bulk_tasks/{id} request body details

Parameter Data Type MIME Type Description Sample

updated_log_source_bulk_task

Object

application/json

The updated log source bulk task data.

{ "status": "String <one of: IN_PROGRESS, COMPLETED_WITH_ERRORS, COMPLETED_SUCCESSFULLY, CANCELLING, CANCELLED>" }

Table 4: POST /config/event_sources/log_source_management/log_source_bulk_tasks/{id} response codes:

POST /config/event_sources/log_source_management/log_source_bulk_tasks/{id} response codes

HTTP Response Code Unique Code Description

200

The log source bulk task was updated successfully.

404

1001

The requested log source bulk task cannot be found.

Response Description

The updated log source bulk task.

Response Sample