PingOne Platform APIs

Update Store

 

PUT {{apiPath}}/environments/{{envID}}/propagation/stores/{{storeID}}

The PUT {{apiPath}}/environments/{{envID}}/propagation/stores/{{storeID}} operation updates the property values of the identified identity store resource.

Prerequisites

Request Model

Base request model

Refer to Propagation store base data model for full property descriptions.

Property Type Required?

description

String

Optional

image.href

String

Optional

managed

Boolean

Optional

name

String

Required

status

String

Optional

type

String

Required

Propagation store configuration request models:

Aquera configuration request model

Refer to Propagation store Aquera configuration data model for full property descriptions.

Property Type Required?

configuration.ACCESS_TOKEN

String

Optional

configuration.AUTHENTICATION_METHOD

String

Required

configuration.BASIC_AUTH_PASSWORD

String

Required

configuration.BASIC_AUTH_USER

String

Required

configuration.CREATE_USERS

Boolean

Optional

configuration.createNewUsers (deprecated)

Boolean

Optional

configuration.DISABLE_USERS

Boolean

Optional

configuration.disableNewUsers (deprecated)

Boolean

Optional

configuration.GROUP_NAME_SOURCE

String

Optional

configuration.REMOVE_ACTION

String

Optional

configuration.SCIM_URL

String

Required

configuration.UPDATE_USERS

Boolean

Optional

configuration.updateNewUsers (deprecated)

Boolean

Optional

Azure Active Directory SAML V2.0 configuration request model

Property Type Required?

configuration.ClientId

String

Required

configuration.ClientSecret

String

Required

configuration.CREATE_NEW_USERS (deprecated)

Boolean

Optional

configuration.CREATE_USERS

Boolean

Optional

configuration.DEPROVISION_USER_ACTION_PROV_OPT (deprecated)

Boolean

Optional

configuration.DISABLE_USERS

Boolean

Optional

configuration.PROVISION_DISABLED_USERS_PROV_OPT

Boolean

Optional

configuration.REMOVE_ACTION

String

Optional

configuration.REMOVE_USERS_PROV_OPT (deprecated)

Boolean

Optional

configuration.RemoveLicensesWhenSkuIdEmpty

Boolean

Required

configuration.TenantDomain

String

Required

configuration.UPDATE_NEW_USERS (deprecated)

Boolean

Optional

configuration.UPDATE_USERS

Boolean

Optional

directory configuration request model

An identity propagation store of type directory has no configuration data model.

GoogleApps configuration request model

Refer to Propagation store GoogleApps configuration data model for full property descriptions.

Property Type Required?

configuration.APPLICATION_NAME

String

Required

configuration.CREATE_USERS

Boolean

Optional

configuration.DEPROVISION_USERS

Boolean

Optional

configuration.DISABLE_USERS

Boolean

Optional

configuration.DOMAIN

String

Required

configuration.OAUTH_ACCESS_TOKEN

String

Required

configuration.OAUTH_CLIENT_ID

String

Required

configuration.OAUTH_CLIENT_SECRET

String

Required

configuration.OAUTH_REFRESH_TOKEN

String

Required

configuration.PROVISION_DISABLED_USERS_PROV_OPT

Boolean

Optional

configuration.REMOVE_ACTION

String

Optional

configuration.UPDATE_USERS

Boolean

Optional

GitHubEMU configuration request model

Property Type Required?

configuration.BASE_URL

String

Required

configuration.CREATE_USERS_PROV_OPT (deprecated)

Boolean

Optional

configuration.CREATE_USERS

Boolean

Optional

configuration.DEPROVISION_USERS

Boolean

Optional

configuration.GROUP_MEMBERSHIP_HANDLING

String

Optional

configuration.OAUTH_ACCESS_TOKEN

String

Required

configuration.REMOVE_ACTION

String

Optional

configuration.REMOVE_USERS_PROV_OPT (deprecated)

Boolean

Optional

configuration.UPDATE_USERS_PROV_OPT (deprecated)

Boolean

Optional

configuration.UPDATE_USERS

Boolean

Optional

LdapGateway configuration request model

Refer to Propagation store LDAP Gateway configuration data model for full property descriptions.

Property Type Required?

configuration.ATTRIBUTE_METADATA

String

Optional

configuration.CLIENT_ID

String

Required

configuration.CLIENT_SECRET

String

Required

configuration.CREATE_USERS

Boolean

Optional

configuration.DELETE_USERS

Boolean

Optional

configuration.ENVIRONMENT_ID

String

Required

configuration.GATEWAY_BASE_URL

String

Required

configuration.GATEWAY_ID

String

Required

configuration.LDAP_TYPE

String

Required

configuration.OAUTH_URL

String

Required

configuration.UPDATE_USERS

Boolean

Optional

PingOne configuration request model

Refer to Propagation store PingOne configuration data model for full property descriptions.

Property Type Required?

configuration.CLIENT_ID

String

Optional

configuration.CLIENT_SECRET

String

Optional

configuration.CREATE_USERS_PROV_OPT (deprecated)

Boolean

Optional

configuration.CREATE_USERS

Boolean

Optional

configuration.DEFAULT_AUTH_METHOD

String

Optional

configuration.DISABLE_USERS

Boolean

Optional

configuration.ENVIRONMENT_ID

Sring

Required

configuration.MFA_USER_DEVICE_MANAGEMENT

String

Optional

configuration.PROVISION_DISABLED_USERS_PROV_OPT

Boolean

Optional

configuration.REGION

String

Required

configuration.REMOVE_ACTION

String

Optional

configuration.REMOVE_USERS_PROV_OPT (deprecated)

Boolean

Optional

configuration.UPDATE_USERS_PROV_OPT (deprecated)

Boolean

Optional

configuration.UPDATE_USERS

Boolean

Optional

Salesforce configuration request model

Refer to Propagation store Salesforce configuration data model for full property descriptions.

Property Type Required?

configuration.ACCOUNT_ID

String

Optional

configuration.CLIENT_ID

String

Required

configuration.CLIENT_SECRET

String

Required

configuration.CREATE_NEW_USERS (deprecated)

Boolean

Optional

configuration.CREATE_USERS

Boolean

Optional

configuration.DISABLE_USERS

Boolean

Optional

configuration.ENABLE_COMMUNITIES

Boolean

Required

configuration.FREEZE_USER_FLAG

Boolean

Required

configuration.OAUTH_ACCESS_TOKEN

String

Required

configuration.OAUTH_REFRESH_TOKEN

String

Required

configuration.PERMISSION_SET_MANAGEMENT

String

Required

configuration.PROFILE_ID

String

Optional

configuration.PROVISION_DISABLED_USERS

Boolean

Optional

configuration.SALESFORCE_DOMAIN

String

Required

configuration.UPDATE_NEW_USERS (deprecated)

Boolean

Optional

configuration.UPDATE_USERS

Boolean

Optional

SalesforceContacts configuration request model

Refer to Propagation store SalesforceContacts configuration data model for full property descriptions.

Property Type Required?

configuration.ACCOUNT_ID

String

Optional

configuration.CLIENT_ID

String

Required

configuration.CLIENT_SECRET

String

Required

configuration.CREATE_NEW_USERS (deprecated)

Boolean

Optional

configuration.CREATE_USERS

Boolean

Optional

configuration.DISABLE_USERS

Boolean

Optional

configuration.ENABLE_COMMUNITIES

Boolean

Required

configuration.FREEZE_USER_FLAG

Boolean

Required

configuration.OAUTH_ACCESS_TOKEN

String

Required

configuration.OAUTH_REFRESH_TOKEN

String

Required

configuration.PERMISSION_SET_MANAGEMENT

String

Required

configuration.PROFILE_ID

String

Optional

configuration.PROVISION_DISABLED_USERS

Boolean

Optional

configuration.RECORD_TYPE

String

Required

configuration.SALESFORCE_DOMAIN

String

Required

configuration.UPDATE_NEW_USERS (deprecated)

Boolean

Optional

configuration.UPDATE_USERS

Boolean

Optional

SCIM configuration request model

Refer to Propagation store SCIM configuration data model for full property descriptions.

Property Type Required?

configuration.AUTHENTICATION_METHOD

String

Required

configuration.AUTHORIZATION_TYPE

String

Required

configuration.BASIC_AUTH_PASSWORD

String

Required

configuration.BASIC_AUTH_USER

String

Required

configuration.CREATE_USERS

Boolean

Optional

configuration.createNewUsers (deprecated)

Boolean

Optional

configuration.DISABLE_USERS

Boolean

Optional

configuration.disableNewUsers (deprecated)

Boolean

Optional

configuration.GROUP_NAME_SOURCE

String

Optional

configuration.GROUPS_RESOURCE

String

Optional

configuration.OAUTH_ACCESS_TOKEN

String

Optional

configuration.OAUTH_CLIENT_ID

String

Optional

configuration.OAUTH_CLIENT_SECRET

String

Optional

configuration.OAUTH_TOKEN_REQUEST

String

Optional

configuration.REMOVE_ACTION

String

Optional

configuration.SCIM_URL

String

Required

configuration.SCIM_VERSION

String

Required

configuration.UNIQUE_USER_IDENTIFIER

String

Required

configuration.UPDATE_USERS

Boolean

Optional

configuration.updateNewUsers (deprecated)

Boolean

Optional

configuration.USER_FILTER

String

Required

configuration.USERS_RESOURCE

String

Required

ServiceNow configuration request model

Refer to Propagation store ServiceNow configuration data model for full property descriptions.

Property Type Required?

configuration.Administrator_Password

String

Required

configuration.Administrator_Username

String

Required

configuration.CREATE_USERS

Boolean

Optional

configuration.createNewUsers (deprecated)

Boolean

Optional

configuration.DEPROVISION_USERS

Boolean

Optional

configuration.DISABLE_USERS

Boolean

Optional

configuration.disableNewUsers (deprecated)

Boolean

Optional

configuration.REMOVE_ACTION

String

Optional

configuration.ServiceNow_Instance_Name (deprecated)

String

Optional

configuration.ServiceNow_Url

String

Required

configuration.UPDATE_USERS

Boolean

Optional

configuration.updateNewUsers (deprecated)

Boolean

Optional

Slack configuration request model

Refer to Propagation store Slack configuration data model for full property descriptions.

Property Type Required?

configuration.CREATE_USERS_PROV_OPT (deprecated)

Boolean

Optional

configuration.CREATE_USERS

Boolean

Optional

configuration.DEPROVISION_USERS

Boolean

Optional

configuration.DISABLE_USERS

Boolean

Optional

configuration.OAUTH_ACCESS_TOKEN

String

Required

configuration.REMOVE_ACTION

String

Optional

configuration.REMOVE_USERS_PROV_OPT (deprecated)

Boolean

Optional

configuration.UNIQUE_USER_IDENTIFIER

String

Required

configuration.UPDATE_USERS_PROV_OPT (deprecated)

Boolean

Optional

configuration.UPDATE_USERS

Boolean

Optional

Workday configuration request model

Refer to Propagation store Workday configuration data model for full property descriptions.

Property Type Required?

configuration.excludeContingentWorkers

Boolean

Optional

configuration.excludeEmployees

Boolean

Optional

configuration.excludeInactiveWorkers

Boolean

Optional

configuration.host

String

Optional

configuration.password

String

Required

configuration.tenantId

String

Required

configuration.username

String

Required

Zoom configuration request model

Refer to Propagation store Zoom configuration data model for full property descriptions.

Property Type Required?

configuration.API_KEY (deprecated)

String

Required

configuration.API_SECRET (deprecated)

String

Required

configuration.CREATE_USERS_PROV_OPT (deprecated)

Boolean

Optional

configuration.CREATE_USERS

Boolean

Optional

configuration.DEPROVISION_USERS

Boolean

Optional

configuration.DISABLE_USERS

Boolean

Optional

configuration.OAUTH_ACCOUNT_ID

String

Required/Optional

configuration.OAUTH_CLIENT_ID

String

Required/Optional

configuration.OAUTH_CLIENT_SECRET

String

Required/Optional

configuration.OAUTH_TOKEN_URL

String

Required/Optional

configuration.REMOVE_ACTION

String

Optional

configuration.REMOVE_USERS_PROV_OPT (deprecated)

Boolean

Optional

configuration.SCIM_URL

String

Required

configuration.UPDATE_USERS_PROV_OPT (deprecated)

Boolean

Optional

configuration.UPDATE_USERS

Boolean

Optional

Headers

Authorization      Bearer {{accessToken}}

Content-Type      application/json

Body

raw ( application/json )

{
    "type": "scim",
    "name": "scim",
    "description": "Update a scim connection",
    "configuration": {
        "AUTHENTICATION_METHOD": "Basic Authentication",
        "SCIM_URL": "https://scim.url",
        "USERS_RESOURCE": "/users",
        "SCIM_VERSION": "1.1",
        "AUTHORIZATION_TYPE": "Basic",
        "BASIC_AUTH_USER": "{{basicAuthUsername}}",
        "BASIC_AUTH_PASSWORD": "{{basicAuthPassword}}"
    },
    "image": {
        "href": "https://d1oekt4jpdthse.cloudfront.net/branding/market/cb933bfe-8282-405a-a780-0a19b97edc02.png"
    }
}

Example Request

  • cURL

  • C#

  • Go

  • HTTP

  • Java

  • jQuery

  • NodeJS

  • Python

  • PHP

  • Ruby

  • Swift

curl --location --globoff --request PUT '{{apiPath}}/environments/{{envID}}/propagation/stores/{{storeID}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{accessToken}}' \
--data '{
    "type": "scim",
    "name": "scim",
    "description": "Update a scim connection",
    "configuration": {
        "AUTHENTICATION_METHOD": "Basic Authentication",
        "SCIM_URL": "https://scim.url",
        "USERS_RESOURCE": "/users",
        "SCIM_VERSION": "1.1",
        "AUTHORIZATION_TYPE": "Basic",
        "BASIC_AUTH_USER": "{{basicAuthUsername}}",
        "BASIC_AUTH_PASSWORD": "{{basicAuthPassword}}"
    },
    "image": {
        "href": "https://d1oekt4jpdthse.cloudfront.net/branding/market/cb933bfe-8282-405a-a780-0a19b97edc02.png"
    }
}'
var options = new RestClientOptions("{{apiPath}}/environments/{{envID}}/propagation/stores/{{storeID}}")
{
  MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("", Method.Put);
request.AddHeader("Content-Type", "application/json");
request.AddHeader("Authorization", "Bearer {{accessToken}}");
var body = @"{" + "\n" +
@"    ""type"": ""scim""," + "\n" +
@"    ""name"": ""scim""," + "\n" +
@"    ""description"": ""Update a scim connection""," + "\n" +
@"    ""configuration"": {" + "\n" +
@"        ""AUTHENTICATION_METHOD"": ""Basic Authentication""," + "\n" +
@"        ""SCIM_URL"": ""https://scim.url""," + "\n" +
@"        ""USERS_RESOURCE"": ""/users""," + "\n" +
@"        ""SCIM_VERSION"": ""1.1""," + "\n" +
@"        ""AUTHORIZATION_TYPE"": ""Basic""," + "\n" +
@"        ""BASIC_AUTH_USER"": ""{{basicAuthUsername}}""," + "\n" +
@"        ""BASIC_AUTH_PASSWORD"": ""{{basicAuthPassword}}""" + "\n" +
@"    }," + "\n" +
@"    ""image"": {" + "\n" +
@"        ""href"": ""https://d1oekt4jpdthse.cloudfront.net/branding/market/cb933bfe-8282-405a-a780-0a19b97edc02.png""" + "\n" +
@"    }" + "\n" +
@"}";
request.AddStringBody(body, DataFormat.Json);
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io"
)

func main() {

  url := "{{apiPath}}/environments/{{envID}}/propagation/stores/{{storeID}}"
  method := "PUT"

  payload := strings.NewReader(`{
    "type": "scim",
    "name": "scim",
    "description": "Update a scim connection",
    "configuration": {
        "AUTHENTICATION_METHOD": "Basic Authentication",
        "SCIM_URL": "https://scim.url",
        "USERS_RESOURCE": "/users",
        "SCIM_VERSION": "1.1",
        "AUTHORIZATION_TYPE": "Basic",
        "BASIC_AUTH_USER": "{{basicAuthUsername}}",
        "BASIC_AUTH_PASSWORD": "{{basicAuthPassword}}"
    },
    "image": {
        "href": "https://d1oekt4jpdthse.cloudfront.net/branding/market/cb933bfe-8282-405a-a780-0a19b97edc02.png"
    }
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Content-Type", "application/json")
  req.Header.Add("Authorization", "Bearer {{accessToken}}")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := io.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
PUT /environments/{{envID}}/propagation/stores/{{storeID}} HTTP/1.1
Host: {{apiPath}}
Content-Type: application/json
Authorization: Bearer {{accessToken}}

{
    "type": "scim",
    "name": "scim",
    "description": "Update a scim connection",
    "configuration": {
        "AUTHENTICATION_METHOD": "Basic Authentication",
        "SCIM_URL": "https://scim.url",
        "USERS_RESOURCE": "/users",
        "SCIM_VERSION": "1.1",
        "AUTHORIZATION_TYPE": "Basic",
        "BASIC_AUTH_USER": "{{basicAuthUsername}}",
        "BASIC_AUTH_PASSWORD": "{{basicAuthPassword}}"
    },
    "image": {
        "href": "https://d1oekt4jpdthse.cloudfront.net/branding/market/cb933bfe-8282-405a-a780-0a19b97edc02.png"
    }
}
OkHttpClient client = new OkHttpClient().newBuilder()
  .build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\n    \"type\": \"scim\",\n    \"name\": \"scim\",\n    \"description\": \"Update a scim connection\",\n    \"configuration\": {\n        \"AUTHENTICATION_METHOD\": \"Basic Authentication\",\n        \"SCIM_URL\": \"https://scim.url\",\n        \"USERS_RESOURCE\": \"/users\",\n        \"SCIM_VERSION\": \"1.1\",\n        \"AUTHORIZATION_TYPE\": \"Basic\",\n        \"BASIC_AUTH_USER\": \"{{basicAuthUsername}}\",\n        \"BASIC_AUTH_PASSWORD\": \"{{basicAuthPassword}}\"\n    },\n    \"image\": {\n        \"href\": \"https://d1oekt4jpdthse.cloudfront.net/branding/market/cb933bfe-8282-405a-a780-0a19b97edc02.png\"\n    }\n}");
Request request = new Request.Builder()
  .url("{{apiPath}}/environments/{{envID}}/propagation/stores/{{storeID}}")
  .method("PUT", body)
  .addHeader("Content-Type", "application/json")
  .addHeader("Authorization", "Bearer {{accessToken}}")
  .build();
Response response = client.newCall(request).execute();
var settings = {
  "url": "{{apiPath}}/environments/{{envID}}/propagation/stores/{{storeID}}",
  "method": "PUT",
  "timeout": 0,
  "headers": {
    "Content-Type": "application/json",
    "Authorization": "Bearer {{accessToken}}"
  },
  "data": JSON.stringify({
    "type": "scim",
    "name": "scim",
    "description": "Update a scim connection",
    "configuration": {
      "AUTHENTICATION_METHOD": "Basic Authentication",
      "SCIM_URL": "https://scim.url",
      "USERS_RESOURCE": "/users",
      "SCIM_VERSION": "1.1",
      "AUTHORIZATION_TYPE": "Basic",
      "BASIC_AUTH_USER": "{{basicAuthUsername}}",
      "BASIC_AUTH_PASSWORD": "{{basicAuthPassword}}"
    },
    "image": {
      "href": "https://d1oekt4jpdthse.cloudfront.net/branding/market/cb933bfe-8282-405a-a780-0a19b97edc02.png"
    }
  }),
};

$.ajax(settings).done(function (response) {
  console.log(response);
});
var request = require('request');
var options = {
  'method': 'PUT',
  'url': '{{apiPath}}/environments/{{envID}}/propagation/stores/{{storeID}}',
  'headers': {
    'Content-Type': 'application/json',
    'Authorization': 'Bearer {{accessToken}}'
  },
  body: JSON.stringify({
    "type": "scim",
    "name": "scim",
    "description": "Update a scim connection",
    "configuration": {
      "AUTHENTICATION_METHOD": "Basic Authentication",
      "SCIM_URL": "https://scim.url",
      "USERS_RESOURCE": "/users",
      "SCIM_VERSION": "1.1",
      "AUTHORIZATION_TYPE": "Basic",
      "BASIC_AUTH_USER": "{{basicAuthUsername}}",
      "BASIC_AUTH_PASSWORD": "{{basicAuthPassword}}"
    },
    "image": {
      "href": "https://d1oekt4jpdthse.cloudfront.net/branding/market/cb933bfe-8282-405a-a780-0a19b97edc02.png"
    }
  })

};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});
import requests
import json

url = "{{apiPath}}/environments/{{envID}}/propagation/stores/{{storeID}}"

payload = json.dumps({
  "type": "scim",
  "name": "scim",
  "description": "Update a scim connection",
  "configuration": {
    "AUTHENTICATION_METHOD": "Basic Authentication",
    "SCIM_URL": "https://scim.url",
    "USERS_RESOURCE": "/users",
    "SCIM_VERSION": "1.1",
    "AUTHORIZATION_TYPE": "Basic",
    "BASIC_AUTH_USER": "{{basicAuthUsername}}",
    "BASIC_AUTH_PASSWORD": "{{basicAuthPassword}}"
  },
  "image": {
    "href": "https://d1oekt4jpdthse.cloudfront.net/branding/market/cb933bfe-8282-405a-a780-0a19b97edc02.png"
  }
})
headers = {
  'Content-Type': 'application/json',
  'Authorization': 'Bearer {{accessToken}}'
}

response = requests.request("PUT", url, headers=headers, data=payload)

print(response.text)
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{apiPath}}/environments/{{envID}}/propagation/stores/{{storeID}}');
$request->setMethod(HTTP_Request2::METHOD_PUT);
$request->setConfig(array(
  'follow_redirects' => TRUE
));
$request->setHeader(array(
  'Content-Type' => 'application/json',
  'Authorization' => 'Bearer {{accessToken}}'
));
$request->setBody('{\n    "type": "scim",\n    "name": "scim",\n    "description": "Update a scim connection",\n    "configuration": {\n        "AUTHENTICATION_METHOD": "Basic Authentication",\n        "SCIM_URL": "https://scim.url",\n        "USERS_RESOURCE": "/users",\n        "SCIM_VERSION": "1.1",\n        "AUTHORIZATION_TYPE": "Basic",\n        "BASIC_AUTH_USER": "{{basicAuthUsername}}",\n        "BASIC_AUTH_PASSWORD": "{{basicAuthPassword}}"\n    },\n    "image": {\n        "href": "https://d1oekt4jpdthse.cloudfront.net/branding/market/cb933bfe-8282-405a-a780-0a19b97edc02.png"\n    }\n}');
try {
  $response = $request->send();
  if ($response->getStatus() == 200) {
    echo $response->getBody();
  }
  else {
    echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
    $response->getReasonPhrase();
  }
}
catch(HTTP_Request2_Exception $e) {
  echo 'Error: ' . $e->getMessage();
}
require "uri"
require "json"
require "net/http"

url = URI("{{apiPath}}/environments/{{envID}}/propagation/stores/{{storeID}}")

http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Put.new(url)
request["Content-Type"] = "application/json"
request["Authorization"] = "Bearer {{accessToken}}"
request.body = JSON.dump({
  "type": "scim",
  "name": "scim",
  "description": "Update a scim connection",
  "configuration": {
    "AUTHENTICATION_METHOD": "Basic Authentication",
    "SCIM_URL": "https://scim.url",
    "USERS_RESOURCE": "/users",
    "SCIM_VERSION": "1.1",
    "AUTHORIZATION_TYPE": "Basic",
    "BASIC_AUTH_USER": "{{basicAuthUsername}}",
    "BASIC_AUTH_PASSWORD": "{{basicAuthPassword}}"
  },
  "image": {
    "href": "https://d1oekt4jpdthse.cloudfront.net/branding/market/cb933bfe-8282-405a-a780-0a19b97edc02.png"
  }
})

response = http.request(request)
puts response.read_body
let parameters = "{\n    \"type\": \"scim\",\n    \"name\": \"scim\",\n    \"description\": \"Update a scim connection\",\n    \"configuration\": {\n        \"AUTHENTICATION_METHOD\": \"Basic Authentication\",\n        \"SCIM_URL\": \"https://scim.url\",\n        \"USERS_RESOURCE\": \"/users\",\n        \"SCIM_VERSION\": \"1.1\",\n        \"AUTHORIZATION_TYPE\": \"Basic\",\n        \"BASIC_AUTH_USER\": \"{{basicAuthUsername}}\",\n        \"BASIC_AUTH_PASSWORD\": \"{{basicAuthPassword}}\"\n    },\n    \"image\": {\n        \"href\": \"https://d1oekt4jpdthse.cloudfront.net/branding/market/cb933bfe-8282-405a-a780-0a19b97edc02.png\"\n    }\n}"
let postData = parameters.data(using: .utf8)

var request = URLRequest(url: URL(string: "{{apiPath}}/environments/{{envID}}/propagation/stores/{{storeID}}")!,timeoutInterval: Double.infinity)
request.addValue("application/json", forHTTPHeaderField: "Content-Type")
request.addValue("Bearer {{accessToken}}", forHTTPHeaderField: "Authorization")

request.httpMethod = "PUT"
request.httpBody = postData

let task = URLSession.shared.dataTask(with: request) { data, response, error in
  guard let data = data else {
    print(String(describing: error))
    return
  }
  print(String(data: data, encoding: .utf8)!)
}

task.resume()

Example Response

200 OK

{
    "id": "a7115f69-136d-4b5d-8b24-5c1c218147f5",
    "environment": {
        "id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
    },
    "createdAt": "2022-01-10T17:32:21.502Z",
    "updatedAt": "2022-01-10T20:29:55.593Z",
    "image": {
        "href": "https://d1oekt4jpdthse.cloudfront.net/branding/market/cb933bfe-8282-405a-a780-0a19b97edc02.png"
    },
    "description": "Update a scim connection",
    "type": "scim",
    "configuration": {
        "AUTHENTICATION_METHOD": "Basic Authentication",
        "SCIM_URL": "https://scim.url",
        "USERS_RESOURCE": "/users",
        "SCIM_VERSION": "1.1",
        "AUTHORIZATION_TYPE": "Basic",
        "BASIC_AUTH_USER": "basicUserName",
        "BASIC_AUTH_PASSWORD": "$3cr3t_p@55w0rd"
    },
    "name": "scim",
    "_links": {
        "self": {
            "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/propagation/stores/a7115f69-136d-4b5d-8b24-5c1c218147f5"
        },
        "update": {
            "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/propagation/stores/a7115f69-136d-4b5d-8b24-5c1c218147f5"
        },
        "delete": {
            "href": "https://api.pingone.com/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/propagation/stores/a7115f69-136d-4b5d-8b24-5c1c218147f5"
        }
    }
}