---
updatedAt: 2026-03-01T17:54:57.000Z
---

# Modify a custom provider

```shell Shell
hostname="https://v1.api.us.janrain.com"
customerId="e0a70b4f-1eef-4856-bcdb-f050fee66aae"
socialAppId="apps/fifbclhccfpjdeoejkag"
providerId="d284e861-d7f9-426e-93b0-56e01cf6d0ea"

curl -L -X PATCH "$hostname/$customerId/v2/config/low/services/engage-v2/$socialAppId/custom-providers/$providerId" \
-H 'Authorization: Bearer Hu7UEPLpMEHNqROFFn1KbFTKipofq7Vuyf1ccEywSC2NWelaEhUY9s0JRUr8FriM' \
-H 'Content-Type: application/merge-patch+json' \
--data-raw '{
   "profile_url": "https://techdocs.akamai.com/oidc/userinfo"
}'
```

```node Node
const hostname="https://v1.api.us.janrain.com"
const customerId="e0a70b4f-1eef-4856-bcdb-f050fee66aae"
const socialAppId="apps/fifbclhccfpjdeoejkag"
const providerID="d284e861-d7f9-426e-93b0-56e01cf6d0ea"

var request = require('request');
var options = {
  'method': 'PATCH',
  'url': hostname.concat("/", customerId, "/v2/config/low/services/engage-v2/", socialAppId, "/custom-providers/", providerId),
  'headers': {
    'Authorization': 'Bearer Hu7UEPLpMEHNqROFFn1KbFTKipofq7Vuyf1ccEywSC2NWelaEhUY9s0JRUr8FriM',
    'Content-Type': 'application/merge-patch+json'
  },
  body: JSON.stringify({
    "profile_url": "https://techdocs.akamai.com/oidc/userinfo"
  })

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

```

```python Python
hostname="https://v1.api.us.janrain.com"
customerID="e0a70b4f-1eef-4856-bcdb-f050fee66aae"
socialAppId="apps/fifbclhccfpjdeoejkag"
providerID="d284e861-d7f9-426e-93b0-56e01cf6d0ea"

import requests
import json

url = hostname +"/" + customerId + "/v2/config/low/services/engage-v2/" + socialAppId + "/custom-providers/" + providerId

payload = json.dumps({
  "profile_url": "https://techdocs.akamai.com/oidc/userinfo"
})
headers = {
  'Authorization': 'Bearer Hu7UEPLpMEHNqROFFn1KbFTKipofq7Vuyf1ccEywSC2NWelaEhUY9s0JRUr8FriM',
  'Content-Type': 'application/merge-patch+json'
}

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

print(response.text)

```

# Get your Identity Cloud hostname

<!-- shell@1 -->
<!-- node@1 -->
<!-- python@1 -->

Unless you have a custom domain, US organizations typically use the hostname **https<span>://v1.</span>api.us.janrain.com**.  Organizations outside the US should replace the **us** with their locale.

# Get your Akamai customer ID

<!-- shell@2 -->
<!-- node@2 -->
<!-- python@2 -->

Unique identifier issued to Akamai customers. To verify your custom ID, log on to Console and, on the **Manage Application** page, check the value of the **customer_id** setting.

# Get your social login application ID

<!-- shell@3 -->
<!-- node@3 -->
<!-- python@3 -->

Unique identifier of the Identity Cloud social login application associated with your custom provider. Use the <a href="https://techdocs.akamai.com/identity-cloud-custom-provider/reference/get-social-login-apps" target="_blank">/apps</a> operation to return information about your social login applications.

# Get your custom provider ID

<!-- shell@4 -->
<!-- node@4 -->
<!-- python@4 -->

Unique identifier of a custom provider. IDs are assigned to a provider when the provider is created and can be returned by using the <a href="https://techdocs.akamai.com/identity-cloud-custom-provider/reference/get-custom-providers" target = "_blank">/providers</a> operation.

# Get authorization

<!-- shell@7 -->
<!-- node@11 -->
<!-- python@15 -->

This operation uses Bearer token authorization and requires an administrative access token returned by using the /login/token operation. See <a href="https://techdocs.akamai.com/identity-cloud-custom-provider/reference/get-started" target="_blank">Get started</a> for more information.

# Configure the content type

<!-- shell@8 -->
<!-- node@12 -->
<!-- python@16 -->

Set the **Content-Type** header to **application/json**. This indicates that the request body is sent in JSON format.

# Configure the provider modifications

<!-- shell@10-16 -->
<!-- node@14-16 -->
<!-- python@11-13 -->

Key-value pairs specifying the custom provider properties to be updated as well as the new values being assigned to those properties. Because the **Content-Type** is set to **application/merge-patch+json** you only need to include the properties and property values being updated.

# Call the API

<!-- shell@6 -->
<!-- node@19-22 -->
<!-- python@19 -->

Use the PATCH method to modify the custom provider.

# Review the response



If successful, the API response consists of the HTTP status code **204 No Content**.