A stale username was shown in SDDC Password Management.
Confirmed this account is abandoned
SDDC 5.X
1. Double confirm this username isabandoned
2. Take SDDC snapshot
3. Use the API to clear
1. Obtain Token
ACCESS_TOKEN=$(curl -vd '{"username" : "[email protected]", "password" : "<SSO_PW>"}' -H "Content-Type: application/json" -X POST https://<SDDC_IP>/v1/tokens -k| jq -r '.accessToken')
2. Obtain the credential ID
curl localhost/v1/system/credentials/service -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" | jq
3. Delete the credential
curl localhost/v1/system/credentials/<Id> -X DELETE -H "Authorization: Bearer $ACCESS_TOKEN" -H "Content-Type: application/json" | jq