cancel
Showing results for 
Search instead for 
Did you mean: 

Edit account using API?

aprabhav
New Contributor III

I need a way to edit an account programatically using API. In our case, the end-user uses our application to enter the credentials for a data source (e.g. google drive, SFTP etc). I would then like to edit the corresponding account in Snaplogic with these credentials using APIs and then start the pipeline using APIs.

1 REPLY 1

SpiroTaleski
Valued Contributor

@aprabhav

Editing the Account can be made by using the Metadata Snaps.

So one option is to have one pipeline(which will contain the logic for updating the account, using the Metadata Snaps), which will be exposed as an API(by creating Triggered or Ultra Task from it), and your application will call that API(pipeline) with passing the credentials.

BR,
Spiro Taleski