GitHub user harikrishna-patnala added a comment to the discussion: Not able to 
delete service offering from UI or API

@rohityadavcloud I don't find any API which marks the service offering's 
removed column. deleteServiceOffering API and updateServiceOffering (using 
state parameter) API are updating the column "State" with Active and Inactive 
values.

This was the behaviour even before also.

With the PR https://github.com/apache/cloudstack/pull/8821 we have now new 
filter for Active and Inactive offerings which can also lists all types of 
offerings

Created two offerings and then deleted both the offerings from UI. Following 
are the screenshots for Active and Inactive offerings

Active offerings
![Screenshot 2024-08-19 at 3 57 01 
PM](https://github.com/user-attachments/assets/30a56bdd-b167-43d9-8b70-c632019f4535)

Inactive offerings
![Screenshot 2024-08-19 at 3 57 09 
PM](https://github.com/user-attachments/assets/9505702d-8d0d-4f0b-911b-9bb776ab8b68)

After enabled one of the offerings, it came back to Active list
![Screenshot 2024-08-19 at 3 57 29 
PM](https://github.com/user-attachments/assets/47feefd6-d3d9-40ee-9284-639dfc5b544a)

Please check and let me know if anything else I'm missing here, otherwise we 
can close the ticket.


GitHub link: 
https://github.com/apache/cloudstack/discussions/10498#discussioncomment-12386902

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to