mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[GH-ISSUE #413] Parity: Analytics report request delete endpoint #119
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rudrankriyam on GitHub (Feb 2, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/413
Overview
Add the ability to delete analytics report requests.
Scope (OpenAPI resources)
DELETE /v1/analyticsReportRequests/{id}Proposed CLI
asc analytics requests delete --request-id "REQUEST_ID" --confirmExamples:
asc analytics requests delete --request-id "REQUEST_ID" --confirmFlag patterns
Common:
--request-id,--output,--pretty,--confirmOutput
--prettyfor JSONDetailed TODO
DeleteAnalyticsReportRequestininternal/asc/analytics.goanalytics requests deletesubcommandAcceptance criteria
--confirmflag required for destructive operationTests
Implementation notes
internal/asc/analytics.goanalytics requestscommand groupReferences
docs/openapi/paths.txtdocs/openapi/latest.jsoninternal/asc/analytics.go@rudrankriyam commented on GitHub (Feb 2, 2026):
@cursor please implement this issue. Add the DeleteAnalyticsReportRequest client method and the CLI command.
@cursor[bot] commented on GitHub (Feb 2, 2026):
I added the DeleteAnalyticsReportRequest client method plus delete result output formatting, and wired a new
analytics requests deletesubcommand that requires--confirmwhile keepinganalytics requestslisting as the default behavior. I also added mocked HTTP coverage for the DELETE endpoint and CLI cmdtests for the new flag validation cases.Tests I ran:
go test ./internal/asc -run TestDeleteAnalyticsReportRequest_SendsRequestgo test ./internal/cli/cmdtest -run TestAnalyticsValidationErrors@rudrankriyam commented on GitHub (Feb 3, 2026):
Resolved in #415.