Include 'id' in WebBrokerApi delete success response
Open
@senthuran16 is already working on this.
Since May 14, 2026.
- Dominant language
- Go
- Stars
- 71
- Forks
- 111
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 110
Description
Summary
The DeleteWebBrokerApiById handler in gateway/gateway-controller/pkg/api/handlers/webbroker_api_handler.go currently returns only status and message in the HTTP 200 delete response. The documented schema for this endpoint includes the id of the deleted resource.
Expected
The delete success response should include the id field to match the endpoint contract:
{
"status": "success",
"message": "WebBrokerApi deleted successfully",
"id": "<deleted-resource-id>"
}
Context
- Identified in PR: https://github.com/wso2/api-platform/pull/1954#discussion_r3239562672
- Related improvements tracked in: https://github.com/wso2/api-platform/pull/1944
Requested by: @senthuran16
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.