--- title: "Manage batch job approvals" source_url: https://dev.digicert.com/iot-trust-manager-api/tutorials/batch-enrollment-guide/manage-batch-job-approvals.html --- When you start a batch enrollment job, if the enrollment profile requires certificate approvals, a user with the right permissions must approve the batch job before DigiCert® IoT Trust Manager processes the enrollments in your request. This section describes how to use the DigiCert® IoT Trust Manager API to approve or reject a batch job. > **Info** > > If your enrollment profile auto-approves certificate requests, skip this step. Batch jobs requested through enrollment profiles using auto-approvals are immediately queued for processing. ## Approve a batch job To approve a batch job, submit a PUT request to the following API endpoint. ``` {{base_url}}/iot/api/v1/batch-enroll/{{job_id}}/approve ``` > **Tip** > > For detailed information about this endpoint, see the API reference: [Approve batch enrollment job](https://one.digicert.com/iot/api-docs/index.html#/Batch%20certificate%20enrollment/approveJob). In the request URL: - Replace `{{base_url}}` with the base URL of your DigiCert ONE instance (for example, `https://one.digicert.com`). - Replace `{{job_id}}` with the batch job ID returned when you created the batch job. A successful request to approve a batch job returns a response status code of `204 No Content`. DigiCert® IoT Trust Manager queues the batch job for processing, and its `status` becomes `APPROVED`. When processing begins, the `status` of the batch job changes from `APPROVED` to `IN_PROGRESS`. When the batch job `status` is `COMPLETE`, you can [download the certificates](https://dev.digicert.com/md/iot-trust-manager-api/tutorials/batch-enrollment-guide/download-certificates.md). ## Reject a batch job To reject a batch job, submit a PUT request to the following API endpoint: ``` {{base_url}}/iot/api/v1/batch-enroll/{{job_id}}/reject ``` > **Tip** > > For detailed information about this endpoint, see the API reference: [Reject batch enrollment job](https://one.digicert.com/iot/api-docs/index.html#/Batch%20certificate%20enrollment/rejectJob). In the request URL: - Replace `{{base_url}}` with the base URL of your DigiCert ONE instance (for example, `https://one.digicert.com`). - Replace `{{job_id}}` with the batch job ID returned when you created the batch job. A successful request to reject a batch job returns a response status code of `204 No Content`.