DELETE
/v2/projects/{projectId}/importDelete prepared import data
Deletes prepared import data for a project. Use projectId to identify the project and optionally set branch to target a specific branch. Call this operation when you want to discard the prepared import before applying it.
projectIdintegerrequired
The integer identifier of the project whose prepared import data you want to delete.
branchstringoptional
The branch associated with the prepared import. Omit to use the default branch.
200Confirms that the prepared import data was deleted.
400Returned when the request is invalid.
codestringrequired
paramsarray<object>optional
401Returned when authentication is missing or invalid.
codestringrequired
paramsarray<object>optional
403Returned when the authenticated user lacks permission to manage imports for the project.
codestringrequired
paramsarray<object>optional
404Returned when the project or prepared import data cannot be found.
codestringrequired
paramsarray<object>optional
Error handling
A 400 is returned when the request is invalid. A 401 is returned when authentication is missing or invalid. A 403 is returned when the authenticated user lacks permission to manage imports for the project, and a 404 is returned when the project or prepared import data cannot be found. The projectId path parameter must identify the project.