How to update the Credential Asset on orchestrator using API

Hi Guys,

I need the help on updating the Asset type- Credential on UiPath Orchestrator using the Orchestrator API.

I found the documentation link for the same but they have not given the Update API over there.

Here is the link:
Assets Requests

Please help if you have any idea :grinning: @Palaniyappan @loginerror @Parth_Doshi @nisargkadam23 .

1 Like

Hi @shreyash_shirbhate ,

Have you checked in the swagger? There is an API to Update https://xxxx/odata/Assets(AssetsId) with method PUT

Follow these step to access the Swagger:

  • on-premise - add the following suffix: /swagger/index.html to your Orchestrator URL. For example, .
  • Automation Cloud - add the account and tenant name, as well as the /swagger/index.html suffix to the URL. For example,[AccountLogicalName]/[TenantName]/swagger/index.html .
    Find your Account Logical Name and Tenant Name in the API Access page of your Automation Cloud account.

Happy Automation


Please have a view on this doc

and a video tutorial on that
UiPath Orchestrator API Create and Edit Assets using Postman Application - YouTube

Cheers @shreyash_shirbhate

1 Like

Hey Thanks @Palaniyappan for the quick revert.

I tried it and it is working for me for the Asset type of Text.

But I want to do it for Credential type Asset where i will be updating Password, which i was not able to achieve it!

Can you please help if you have any idea on the same.

Thanks in Advance! :grinning:

its same as that
just we need to change the Value type from text to credentials

"ValueType": "Credential",

and mention the credential username and password here

 "CredentialUsername": "your username",
  "CredentialPassword": "your password",

Cheers @shreyash_shirbhate

1 Like

Hey Thanks! @Palaniyappan, It is working for me!!

I want one help from you, I have two tenant Prod and Nonprod on the UiPath Orchestrator. Also both the tenants are associate with the different VM’s lets say Prod VM and Non Prod VM.

So on the Prod VM, we have the monthly password reset process scheduled for one of the Client applications and We are doing it successfully, like resetting the password and then storing it to using the set credentials activity to update it on Prod Tenant orchestrator. So no one has the password only Prod Tenant orchestrator credentials will have those password.

Here the issue start, when we want to debug or do some enhancement on the NON Prod VM which is associated with the NonProd Tenant Orchestrator at that we dont have the latest updated password on the NonProd Orchestrator.

So that’s, why I asked about the Orchestrator Asset update API.–>(This is the one solution)
But is there anything else like the set credentials activity through which we can update the Assets across the tenants without using API.

I want to update the password on both tenant Prod and Nonprod.

Please let me know if you have any idea on the same or any alternative approach?

Thanks in Advance! :grinning:

1 Like

I think there are only two ways to update credentials asset in orchestrator

One is with api and another one is with set credentials

There is a third option with orchestrator database but We won’t able to update credentials it with database either

API is best and faster when compared to set credentials
So I believe it’s fine to have it on board

Cheers @shreyash_shirbhate

1 Like

Thanks @Palaniyappan, I really appreciate your time!! :grinning:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.