Updating account configuration
Update the account configuration or switch to another account created for the same provider.
Procedure
- In a REST client platform, add the authentication details of the tenant from where you
want to update the account.
//In case of Instance API key Headers: { "x-instance-api-key": "instance_api_key" } // In case of MCSP or ISV token Headers: { "Authorization": "mcsp_or_isv_token" } Body: { account:<auth_uid || connection_uid> } - Make an UPDATE request at the URL of the project.
URL syntax:
<domain>/apis/v1/rest/projects/:project/configs/:config_uidIn this URL request, :project represents the project name or UID, and :config_uid is the UID of the account you want to update.
Method: PUT
If the request is successful, you receive the response code for success.{ output: { "type": "<account_type>", "activity_id": "<activity_id>", "action": "<action>", "service": "<service>", "provider": "<provider>", "version": "<version>", "name": "<account_name>", "auth": "<account_UID>", "flow_version": <flow_version>, "flow_uid": "<flow_uid>", "tenant_uid": "<tenant_uid>", "project_uid": "<project_uid>", "uid": "<config_UID>" } }