Delete-Credential-Store Using API Request

How to delete the default credential store (#2300)?

Issue Description: Cannot delete the default credential store (#2300) in Orchestrator.

Resolution:

  1. Navigate into the Orchestrator swagger page. Replace the Orchestrator URL as per the environment.

https://orchestratorurl/swagger/index.html


  1. Click the Authorize Button and follow the below action.
    1. Retrieve the configured credential stores and save the IDs GET https://cloud.uipath.com/jjfinance/Dev/orchestrator_/odata/CredentialStores

image.png

  1. 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"}

image.png

  1. Delete the old default store DELETE https://cloud.uipath.com/jjfinance/Dev/orchestrator_/odata/CredentialStores({oldCredentialId})

image.png