Update Flow Export Job
Updates the specified export job. Currently supports updating the status field only.
Notes:
- Set
statustoPENDING_CANCELto request cancellation of a running job. - Only the
enterprise_adminandsecurity_engineerroles can update export jobs.
ID of export job to update
{
"_revision": 1,
"status": "PENDING_CANCEL"
}
The updated export job
{
"_links": [],
"_revision": 2,
"_create_user": "admin",
"_create_time": 1782929641410,
"_last_modified_user": "admin",
"_last_modified_time": 1782929828660,
"id": "acbb8dfd-a4cf-4df4-8581-330201080be1",
"display_name": "export-job-acbb8dfd-a4cf-4df4-8581-330201080be1",
"file_name": "app_flows.csv",
"expiration_time": 1783534449000,
"status": "PENDING_CANCEL",
"file_size": 6953,
"row_count": 18
}
Bad Request
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unauthorized
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Forbidden
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Failed
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Precondition Required
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Too Many Requests
{
"error_code": 0,
"module_name": "string",
"error_message": "string"
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
Unexpected error
{
"error_code": 900008,
"module_name": "NsxIntelligence",
"error_message": "Invalid args: Export job can only be cancelled when its current status is RUNNING."
}
HTTP Status or Application error code.
Module where the error happened.
Message describing the error.
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/intelligence/visualization/flow-exports/exports/{export-id}