Add endpoints for deleting content to supported APIs for Archive#895
Open
psatala-box wants to merge 1 commit intomainfrom
Open
Add endpoints for deleting content to supported APIs for Archive#895psatala-box wants to merge 1 commit intomainfrom
psatala-box wants to merge 1 commit intomainfrom
Conversation
psatala-box
commented
Feb 12, 2026
Comment on lines
+41
to
+42
| | [`DELETE /files/:id`][Delete file] | Permanently delete file within an archive. | | ||
| | [`DELETE /folders/:id`][Delete folder] | Permanently delete folder within an archive. Requires contacting customer support to enable. | |
Collaborator
Author
There was a problem hiding this comment.
Only enabling folder deletion requires contacting customer. This is due to legacy reasons
michalkowalczyk-box
approved these changes
Feb 12, 2026
lszal
requested changes
Feb 13, 2026
Collaborator
lszal
left a comment
There was a problem hiding this comment.
Just two minor suggestions.
| | [`GET /folders/:id/items`][List folder items] | List items within an archive or items in a folder within an archive. | | ||
| | [`POST /files/:id/copy`][Copy file] | Copy a file to an archive. | | ||
| | [`POST /folders/:id/copy`][Copy folder] | Copy a folder to an archive. | | ||
| | [`DELETE /files/:id`][Delete file] | Permanently delete file within an archive. | |
Collaborator
There was a problem hiding this comment.
Suggested change
| | [`DELETE /files/:id`][Delete file] | Permanently delete file within an archive. | | |
| | [`DELETE /files/:id`][Delete file] | Permanently delete a file within an archive. | |
| | [`POST /files/:id/copy`][Copy file] | Copy a file to an archive. | | ||
| | [`POST /folders/:id/copy`][Copy folder] | Copy a folder to an archive. | | ||
| | [`DELETE /files/:id`][Delete file] | Permanently delete file within an archive. | | ||
| | [`DELETE /folders/:id`][Delete folder] | Permanently delete folder within an archive. Requires contacting customer support to enable. | |
Collaborator
There was a problem hiding this comment.
Suggested change
| | [`DELETE /folders/:id`][Delete folder] | Permanently delete folder within an archive. Requires contacting customer support to enable. | | |
| | [`DELETE /folders/:id`][Delete folder] | Permanently delete a folder within an archive. Requires contacting customer support to enable. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Added endpoints to list of supported APIs for Box Archive. The new endpoints support deletion of files and folders.
Fixes # (issue)
Re
DDOC-1455Checklist
yarn lintto make sure my changes pass all lintersContribution guidelines
For contribution guidelines, styleguide, and other helpful information please
see the
CONTRIBUTING.mdfile in the root of this project.