Unify and manage your data

Cancel a pending or running job

Learn more about cancel a pending or running job.

Use the Cancel a pending or running job to stop a job that no longer needs to run.

HTTP method and endpoint

Use the following HTTP method and endpoint path to cancel a pending or running job.

DELETE {TenantURL}/ai/agentflow/api/v202605/{tenant_id}/lrt/jobs/{job_id}

The following table describes the endpoint path parameters.

ParameterTypeRequiredDescription
TenantURLStringYesThe base URL for your tenant.
job_idStringYesThe unique identifier of the LRT job.
tenant_idStringYesThe tenant identifier.

Request headers

The following request headers must be included.

HeaderValueRequired
Authorization<access_token>Yes

Request body

This operation does not require a request body.

Example request

Use the following example to see how a complete request is structured with headers.

DELETE {TenantURL}/ai/agentflow/api/v202605/tenant-xyz/lrt/jobs/example-id
Authorization: <access_token>

Response body

This operation does not return a response body. A successful request returns 204 with no content.

The following table lists the possible error responses returned by this API.

HTTP statusDescriptionRecommended action
422 Unprocessable EntityValidation ErrorReview the request parameters or body, correct the invalid values, and resend the request.