Skip to content

Document bulk deletion API convention - #30

Merged
jbrooksuk merged 1 commit into
3.xfrom
codex/document-bulk-delete-api
Aug 24, 2026
Merged

Document bulk deletion API convention#30
jbrooksuk merged 1 commit into
3.xfrom
codex/document-bulk-delete-api

Conversation

@jbrooksuk

Copy link
Copy Markdown
Member

Summary

  • document single-resource and atomic bulk deletion
  • define the required comma-separated ids selector
  • clarify that unqualified collection deletion and ids=all are unsupported

@mintlify

mintlify Bot commented Aug 24, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
cachet 🟢 Ready View Preview Aug 24, 2026, 9:40 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b32770c281

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


Cachet provides a RESTful JSON API that allows you to interact with the status page programmatically. The API is simple to use.

## Deleting resources

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep the generic response outside the deletion section

Placing this ## heading here makes the existing ### Example response a subsection of “Deleting resources,” although that payload is a paginated incident-list response rather than a deletion response. Readers navigating this page will therefore see an unrelated response presented as the result of the documented DELETE; move this section below the example or adjust the heading hierarchy so the example remains under “JSON API.”

Useful? React with 👍 / 👎.

```

All requested IDs must be valid and exist before Cachet deletes anything. An unqualified collection `DELETE` is rejected,
and `ids=all` is not supported. See the relevant endpoint reference for the required API-token ability.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Point to a reference that documents bulk-delete abilities

The promised ability information is not present in the checked API reference: api-reference/openapi.json exposes only get and post on each of the six listed collection paths, and its individual delete operations and shared authorization-error response do not name a required token ability. Users following this sentence therefore cannot determine which ability to grant and may receive a 403; either document the abilities here or add the bulk-delete operations and their ability requirements to the referenced specification.

Useful? React with 👍 / 👎.

@jbrooksuk
jbrooksuk merged commit 93fb6d9 into 3.x Aug 24, 2026
2 checks passed
@jbrooksuk
jbrooksuk deleted the codex/document-bulk-delete-api branch August 24, 2026 10:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant