Deleting a workload secret for Cloudera Data Engineering Spark Jobs using API

You can delete an existing secret for Cloudera Data Engineering (CDE) Spark Jobs using API.

Delete the workload-credential. For example, delete workload-cred-1:
curl -k -X "DELETE" 'https://<dex-vc-host>/dex/api/v1/credentials/workload-cred-1' \
  -H 'Accept: application/json' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/json' \
  -H "Authorization: Bearer ${CDE_TOKEN}"