Poll batches job

Poll the asynchronous job created when deleting a batch. <Info>This API operation and SDK method are maintained for backward compatibility, but the functionally identical API operation [poll file operation job status](/api-sdk/api-reference/jobs/job-status) and its corresponding SDK method [client.jobs.status()](/api-sdk/api-reference/jobs/job-status) are preferred.</Info>

Authentication

AuthorizationBearer
Bearer HTTP authentication.

Path parameters

job_idstringRequired

The job ID returned by a Delete batch request.

Headers

IB-ContextstringOptional
Specify whether to use your community account or organization account to complete the request. To use your community account, define as your user ID. To use your organization account, define as your organization ID. If unspecified, defaults to community account context. See [Authorization and context identification](/api-sdk/authorization#ib-context-header) for details.

Response

Request successful
stateenum or null
The status of the job.
Allowed values:
messagestring or null
Job status message.