Skip to content

[DOC] Update delete API in ML  #7838

@ylwu-amzn

Description

@ylwu-amzn

What do you want to do?

  • Request a change to existing documentation
  • Add new documentation
  • Report a technical problem with the documentation
  • Other

Tell us about your request. Provide a summary of the request.

Add exception details for ML APIs: delete API will throw not found exception (404) if model/agent not exist.

User (like FlowFramework team) read our API document and they don't see exception details of delete APIs (delete connector/model group/model/agent etc). So they thought the delete API will not throw error if resource not found.
But actually we are following the same style of OpenSearch core, when user delete a non-existing document, 404 error will return

*Version: List the OpenSearch version to which this issue applies, e.g. 2.14, 2.12--2.14, or all.

What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

Metadata

Metadata

Assignees

Labels

Backlog - DEVDeveloper assigned to issue is responsible for creating PR.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions