Request cancellation of an export job
POST/directory/exports/:type/:tenant_id/:correlation_id/cancel
Requests cooperative cancellation of an in-progress asynchronous directory export job. Cancellation is cooperative: the request is accepted (202) and the job is marked for cancellation, but in-flight work may not stop immediately. Returns 409 if the job is already in a terminal state (completed, failed, or already cancelled), and 404 if no matching job is found.
Request
Responses
- 202
- 401
- 403
- 404
- 409
- 500
- 503
Cancellation request accepted
Unauthorized - Authentication required
Forbidden - Insufficient permissions or tenant_id does not match the authorized tenant
Export job not found with the given type, tenant ID, and correlation ID
Export job is already in a terminal state and cannot be cancelled
Internal server error
Egress service unavailable