Show / Hide Table of Contents

    How to update Safewhere Identify connections using a Postman script

    Introduction

    Sometimes, manually updating specific connections can be time-consuming. This post will show you how to streamline the process using a Postman script.

    How to run

    • Open the Postman.
    • Create a new request with GET method and URL: https://google.com.
    • Add a Postman script (refer to the Some scripts section) to the Test section.
    • Adjust the values of the script parameters to match your tenant, including the accessToken, tenant URL, the new key name, the key value, etc.
    • Click the Send button.

    run_postman_script.png

    Some scripts

    1. The Postman script gets a specific connection from the /api/rest/v2/connections endpoint and adds new key-value pair settings to the AuthenticationConnectionConfigurationSection.InterceptorService.AdditionalSettings of the connection. Please see the link.
    2. The Postman script retrieves a list of connections from the /api/rest/v2/connections endpoint and adds new key-value pair settings to the AuthenticationConnectionConfigurationSection.InterceptorService.AdditionalSettings of each connection. Please see the link.
    Back to top Generated by DocFX