The App Store Connect API has an endpoint to delete a submission (to "Developer Reject" it):
DELETE https://api.appstoreconnect.apple.com/v1/appStoreVersionSubmissions/{id}
This endpoint doesn't work once the submission enters review (or has been approved), as noted in the docs:
Use this endpoint to remove a version from App Review if the review hasn’t yet started. This request fails with an appropriate error if the app is already in review.
I can't seem to find any way to "Developer Reject" after review has started - am I missing an endpoint in the ASC API or perhaps some fastlane action that allows you to do this??
Note that you can definitely take this action via the UI:
(the "cancel this release" CTA lands you back in a "Developer Rejected" state as expected)
Thanks in advance for any guidance!!
