How to delete the default credential store (#2300)?
Issue Description: Cannot delete the default credential store (#2300) in Orchestrator.
Resolution:
- Navigate into the Orchestrator swagger page. Replace the Orchestrator URL as per the environment.
https://orchestratorurl/swagger/index.html
- Click the Authorize Button and follow the below action.
- Retrieve the configured credential stores and save the IDs GET https://cloud.uipath.com/jjfinance/Dev/orchestrator_/odata/CredentialStores
- Change the default credential store for each resource type POST https://cloud.uipath.com/jjfinance/Dev/orchestrator_/odata/CredentialStores({newCredentialId})/UiPath.Server.Configuration.OData.SetDefaultStoreForResourceTyp
{"resourceType": "Secrets"}
{"resourceType": "BucketCredential"}
- Delete the old default store DELETE https://cloud.uipath.com/jjfinance/Dev/orchestrator_/odata/CredentialStores({oldCredentialId})