Skip to main content
adrianstvz
Silver ⭐️
March 20, 2024
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 ⭐️⭐️
March 21, 2024

@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 ⭐️⭐️
March 21, 2024

@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 ⭐️
March 21, 2024

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

Translate