Submits request to cancel an existing job by Id while supplying free-form cancellation reason.
Changed onSubmits request to cancel an existing job by Id while supplying free-form cancellation reason.
post/routing/jobs/{jobId}:cancel
Request
- Base URL{endpoint}
- AuthOAuth 2Authorization codehttps://login.microsoftonline.com/common/oauth2/authorizeToken URLhttps://login.microsoftonline.com/common/oauth2/tokenScopeshttps://communication.azure.com/.default
Path parameters
jobIdstring required
Id of a job.
Query parameters
api-versionstring required
The API version to use for this operation.
Request body
Response
The request has succeeded.
Cancel Job Result required
Response payload from cancelling a job.
Changes
- warning
the optional response header
x-ms-error-coderemoved for the statusdefault - info
api operation id
JobRouterOperations_CancelJobremoved and replaced withJobRouter_CancelJobAction - info
api tag
Jobsadded
- warning