Skip to content

Fix deletion endpoint by using applianceId from GraphQL#11

Open
Aravind-Sathesh wants to merge 1 commit into
Shereef:mainfrom
Aravind-Sathesh:main
Open

Fix deletion endpoint by using applianceId from GraphQL#11
Aravind-Sathesh wants to merge 1 commit into
Shereef:mainfrom
Aravind-Sathesh:main

Conversation

@Aravind-Sathesh

Copy link
Copy Markdown

Summary

This PR updates the deletion flow to use the applianceId returned by the GraphQL endpoint instead of constructing the legacy DELETE URL from the device description.

Changes

  • Use legacyAppliance.applianceId from the GraphQL response.
  • Delete appliances via:
    DELETE /api/phoenix/appliance/{applianceId}
  • Treat HTTP 2xx responses as successful deletions.
  • Add logging and a deletion summary.
  • Make legacy behavior entity deletion optional, since appliance deletion is sufficient.

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