Zum Hauptinhalt springen
PATCH
/
media-bridge
/
v1
/
{appId}
/
settings
/
oembed-domains
/
{oEmbedDomainId}
Update an oEmbed domain
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
}

Supported products

Autorisierungen

hapikey
string
query
erforderlich

Pfadparameter

appId
integer<int32>
erforderlich

The appId for the media bridge app. It is possible to have multiple apps in your developer account that use the media bridge.

oEmbedDomainId
string
erforderlich

The ID of the domain to update.

Body

application/json
endpoints
object
erforderlich
portalId
integer<int32>

Antwort

successful operation

appId
integer<int32>
erforderlich
createdAt
integer<int64>
erforderlich
deletedAt
integer<int64>
erforderlich
endpoints
object
erforderlich
id
integer<int64>
erforderlich
portalId
integer<int32>
erforderlich
updatedAt
integer<int64>
erforderlich
Last modified on April 9, 2026