Skip to main content
adrianstvz
Silver ⭐️
Mar 20, 2024 11:21 AM UTC
Solved

Completely Remove CDE Service after Disable

After disabling a service using both the CDP Web UI and the CDPCLI tool, when I list all of the services:

$  cdp de list-services

The disabled services still appear with  "status": "ClusterDeletionCompleted".

Is it possible to completely remove these services from that list so they dissappear after being removed?

As I understand, once disabled they cannot be restored, so whats the point of keeping that data?

tj2007
tj2007Answer
Gold ⭐️⭐️
Mar 21, 2024 10:01 AM UTC

@adrianstvz, Hello! Thanks for bringing this to our community!

That's right, your understanding is correct. But we try to maintain consistency with the APIs. The APIs show all the services by default.

You may use the below command to ensure only Active Services are listed.

» cdp de list-services --remove-deleted

I hope this helps! Cheers!

2 replies

tj2007
Gold ⭐️⭐️
tj2007Answer
Gold ⭐️⭐️
Mar 21, 2024 10:01 AM UTC

@adrianstvz, Hello! Thanks for bringing this to our community!

That's right, your understanding is correct. But we try to maintain consistency with the APIs. The APIs show all the services by default.

You may use the below command to ensure only Active Services are listed.

» cdp de list-services --remove-deleted

I hope this helps! Cheers!

Translate
adrianstvz
Silver ⭐️
Mar 21, 2024 2:07 PM UTC

okay, that sounds like a solution to me, thanks for your help :))

Translate