using Auth0.ManagementApi;
using System.Threading.Tasks;
public partial class Examples
{
public async Task Example() {
var client = new ManagementApiClient(
token: "<token>",
clientOptions: new ClientOptions { BaseUrl = "https://{YOUR_DOMAIN}/api/v2" }
);
await client.ConnectionProfiles.UpdateAsync(
id: "id",
request: new UpdateConnectionProfileRequestContent()
);
}
}package com.example.usage;
import com.auth0.client.mgmt.ManagementApi;
import com.auth0.client.mgmt.types.UpdateConnectionProfileRequestContent;
public class Example {
public static void main(String[] args) {
ManagementApi client = ManagementApi
.builder()
.domain("{YOUR_DOMAIN}")
.token("<token>")
.build();
client.connectionProfiles().update(
"id",
UpdateConnectionProfileRequestContent
.builder()
.build()
);
}
}<?php
namespace Example;
use Auth0\SDK\API\Management\Wrapper\ManagementClient;
use Auth0\SDK\API\Management\Wrapper\ManagementClientOptions;
use Auth0\SDK\API\Management\ConnectionProfiles\Requests\UpdateConnectionProfileRequestContent;
$client = new ManagementClient(new ManagementClientOptions(
domain: '{YOUR_DOMAIN}',
token: '<token>',
));
$client->connectionProfiles->update(
'id',
new UpdateConnectionProfileRequestContent([]),
);
from auth0.management import ManagementClient
client = ManagementClient(
domain="{YOUR_DOMAIN}",
token="<token>",
)
client.connection_profiles.update(
id="id",
)
require "auth0"
client = Auth0::Management.new(token: "<token>", base_url: "https://{YOUR_DOMAIN}/api/v2")
client.connection_profiles.update(id: "id")
curl --request PATCH \
--url https://{tenantDomain}/api/v2/connection-profiles/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"organization": {},
"connection_name_prefix_template": "<string>",
"enabled_features": [],
"connection_config": {},
"strategy_overrides": {
"pingfederate": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
},
"ad": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
},
"adfs": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
},
"waad": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
},
"google-apps": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
},
"okta": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
},
"oidc": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
},
"samlp": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
}
},
"provisioning": {}
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
organization: {},
connection_name_prefix_template: '<string>',
enabled_features: [],
connection_config: {},
strategy_overrides: {
pingfederate: {enabled_features: [], connection_config: {}, provisioning: {}},
ad: {enabled_features: [], connection_config: {}, provisioning: {}},
adfs: {enabled_features: [], connection_config: {}, provisioning: {}},
waad: {enabled_features: [], connection_config: {}, provisioning: {}},
'google-apps': {enabled_features: [], connection_config: {}, provisioning: {}},
okta: {enabled_features: [], connection_config: {}, provisioning: {}},
oidc: {enabled_features: [], connection_config: {}, provisioning: {}},
samlp: {enabled_features: [], connection_config: {}, provisioning: {}}
},
provisioning: {}
})
};
fetch('https://{tenantDomain}/api/v2/connection-profiles/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{tenantDomain}/api/v2/connection-profiles/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"organization\": {},\n \"connection_name_prefix_template\": \"<string>\",\n \"enabled_features\": [],\n \"connection_config\": {},\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n },\n \"ad\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n },\n \"adfs\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n },\n \"waad\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n },\n \"google-apps\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n },\n \"okta\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n },\n \"oidc\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n },\n \"samlp\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n }\n },\n \"provisioning\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "<string>",
"name": "<string>",
"organization": {
"show_as_button": "none",
"assign_membership_on_login": "none"
},
"connection_name_prefix_template": "<string>",
"enabled_features": [
"scim"
],
"connection_config": {},
"strategy_overrides": {
"pingfederate": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
},
"ad": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
},
"adfs": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
},
"waad": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
},
"google-apps": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
},
"okta": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
},
"oidc": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
},
"samlp": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
}
},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
},
"cross_app_access_resource_app": {
"status": {
"default_value": "enabled",
"allowed_values": [
"enabled"
]
}
}
}Connection Profileを変更
特定の接続プロファイルの詳細を更新します。
using Auth0.ManagementApi;
using System.Threading.Tasks;
public partial class Examples
{
public async Task Example() {
var client = new ManagementApiClient(
token: "<token>",
clientOptions: new ClientOptions { BaseUrl = "https://{YOUR_DOMAIN}/api/v2" }
);
await client.ConnectionProfiles.UpdateAsync(
id: "id",
request: new UpdateConnectionProfileRequestContent()
);
}
}package com.example.usage;
import com.auth0.client.mgmt.ManagementApi;
import com.auth0.client.mgmt.types.UpdateConnectionProfileRequestContent;
public class Example {
public static void main(String[] args) {
ManagementApi client = ManagementApi
.builder()
.domain("{YOUR_DOMAIN}")
.token("<token>")
.build();
client.connectionProfiles().update(
"id",
UpdateConnectionProfileRequestContent
.builder()
.build()
);
}
}<?php
namespace Example;
use Auth0\SDK\API\Management\Wrapper\ManagementClient;
use Auth0\SDK\API\Management\Wrapper\ManagementClientOptions;
use Auth0\SDK\API\Management\ConnectionProfiles\Requests\UpdateConnectionProfileRequestContent;
$client = new ManagementClient(new ManagementClientOptions(
domain: '{YOUR_DOMAIN}',
token: '<token>',
));
$client->connectionProfiles->update(
'id',
new UpdateConnectionProfileRequestContent([]),
);
from auth0.management import ManagementClient
client = ManagementClient(
domain="{YOUR_DOMAIN}",
token="<token>",
)
client.connection_profiles.update(
id="id",
)
require "auth0"
client = Auth0::Management.new(token: "<token>", base_url: "https://{YOUR_DOMAIN}/api/v2")
client.connection_profiles.update(id: "id")
curl --request PATCH \
--url https://{tenantDomain}/api/v2/connection-profiles/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"organization": {},
"connection_name_prefix_template": "<string>",
"enabled_features": [],
"connection_config": {},
"strategy_overrides": {
"pingfederate": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
},
"ad": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
},
"adfs": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
},
"waad": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
},
"google-apps": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
},
"okta": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
},
"oidc": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
},
"samlp": {
"enabled_features": [],
"connection_config": {},
"provisioning": {}
}
},
"provisioning": {}
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
organization: {},
connection_name_prefix_template: '<string>',
enabled_features: [],
connection_config: {},
strategy_overrides: {
pingfederate: {enabled_features: [], connection_config: {}, provisioning: {}},
ad: {enabled_features: [], connection_config: {}, provisioning: {}},
adfs: {enabled_features: [], connection_config: {}, provisioning: {}},
waad: {enabled_features: [], connection_config: {}, provisioning: {}},
'google-apps': {enabled_features: [], connection_config: {}, provisioning: {}},
okta: {enabled_features: [], connection_config: {}, provisioning: {}},
oidc: {enabled_features: [], connection_config: {}, provisioning: {}},
samlp: {enabled_features: [], connection_config: {}, provisioning: {}}
},
provisioning: {}
})
};
fetch('https://{tenantDomain}/api/v2/connection-profiles/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{tenantDomain}/api/v2/connection-profiles/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"organization\": {},\n \"connection_name_prefix_template\": \"<string>\",\n \"enabled_features\": [],\n \"connection_config\": {},\n \"strategy_overrides\": {\n \"pingfederate\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n },\n \"ad\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n },\n \"adfs\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n },\n \"waad\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n },\n \"google-apps\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n },\n \"okta\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n },\n \"oidc\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n },\n \"samlp\": {\n \"enabled_features\": [],\n \"connection_config\": {},\n \"provisioning\": {}\n }\n },\n \"provisioning\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "<string>",
"name": "<string>",
"organization": {
"show_as_button": "none",
"assign_membership_on_login": "none"
},
"connection_name_prefix_template": "<string>",
"enabled_features": [
"scim"
],
"connection_config": {},
"strategy_overrides": {
"pingfederate": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
},
"ad": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
},
"adfs": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
},
"waad": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
},
"google-apps": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
},
"okta": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
},
"oidc": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
},
"samlp": {
"enabled_features": [
"scim"
],
"connection_config": {},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
}
}
},
"provisioning": {
"scim": {
"tokens": {
"scopes": [
"get:users"
],
"default_expiry": 901,
"max_allowed_expiry": 901
}
},
"google_workspace": {
"sync_users": true
}
},
"cross_app_access_resource_app": {
"status": {
"default_value": "enabled",
"allowed_values": [
"enabled"
]
}
}
}承認
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
パスパラメータ
更新する connection profile の ID。
ボディ
Connection Profile の名前。
1 - 50Connection Profile の organization。
Show child attributes
Show child attributes
接続名のプレフィックステンプレート。
15^(?!-)(?!.*--)(?:[a-zA-Z0-9-]|{org_id}|{org_name})*$Connection Profile で有効な機能。
有効な機能を表す列挙型。
scim, universal_logout, directory_sync Connection Profile の設定。
この属性に対する strategy 固有の overrides
Show child attributes
Show child attributes
このプロファイルから作成された接続のプロビジョニング設定。
Show child attributes
Show child attributes
組織管理者がIDプロバイダーでCross App Access(XAA)を有効にできるかどうかを制御します。
Show child attributes
Show child attributes
レスポンス
接続プロファイルを正常に更新しました。
Connection Profile 識別子。
Connection Profile の名前。
1 - 50Connection Profile の organization。
Show child attributes
Show child attributes
接続名のプレフィックステンプレート。
15^(?!-)(?!.*--)(?:[a-zA-Z0-9-]|{org_id}|{org_name})*$Connection Profile で有効な機能。
有効な機能を表す列挙型。
scim, universal_logout, directory_sync Connection Profile の設定。
この属性に対する strategy 固有の overrides
Show child attributes
Show child attributes
このプロファイルから作成された接続のプロビジョニング設定。
Show child attributes
Show child attributes
組織管理者がIDプロバイダーでCross App Access(XAA)を有効にできるかどうかを制御します。
Show child attributes
Show child attributes