Security Monitoring
Cancel a batch migration
Cancel an in_progress batch migration. Resources that are pending or in_progress become canceled. Resources that are already completed or failed keep their status and output, so completed resources can still be published. Canceling a canceled batch migration succeeds, so the request can be safely retried. Returns 409 Conflict if the batch migration is draft or completed.
post/api/v2/security_monitoring/batch-migrations/{batch_id}/cancel
Request
- Base URLhttps://api.datadoghq.com
- Auth
- API key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
- or OAuth 2Authorization code/oauth2/v1/authorizeToken URL/oauth2/v1/tokenScopessecurity_monitoring_rules_write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
batch_idstring uuid required
Example:7cdb3a75-64fb-46ce-9445-41969e78fe8e
The UUID of the batch migration.
Response
Accepted
Changes
Changes to this operation have not been checked yet.