メインコンテンツへスキップ
PATCH
/
media-bridge
/
v1
/
{appId}
/
settings
/
oembed-domains
/
{oEmbedDomainId}
oEmbedドメインを更新
curl --request PATCH \
  --url 'https://api.hubapi.com/media-bridge/v1/{appId}/settings/oembed-domains/{oEmbedDomainId}?hapikey=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "endpoints": {
    "discovery": true,
    "schemes": [
      "<string>"
    ],
    "url": "<string>"
  },
  "portalId": 123
}
'
{
  "appId": 123,
  "createdAt": 123,
  "deletedAt": 123,
  "endpoints": {
    "discovery": true,
    "schemes": [
      "<string>"
    ],
    "url": "<string>"
  },
  "id": 123,
  "portalId": 123,
  "updatedAt": 123
}
サポートされる製品
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub無料ツール
Sales HubSales Hub無料ツール
Service HubService Hub無料ツール
Content HubContent Hub無料ツール

認証

hapikey
string
query
必須

パスパラメータ

appId
integer<int32>
必須

メディアブリッジアプリのappId。メディアブリッジを使用する開発者アカウント内に複数のアプリを持つことが可能です。

oEmbedDomainId
string
必須

更新するドメインのID。

ボディ

application/json
endpoints
object
必須
portalId
integer<int32>

レスポンス

successful operation

appId
integer<int32>
必須
createdAt
integer<int64>
必須
deletedAt
integer<int64>
必須
endpoints
object
必須
id
integer<int64>
必須
portalId
integer<int32>
必須
updatedAt
integer<int64>
必須
Last modified on September 3, 2025