curl --request PATCH \
--url 'https://api.hubapi.com/media-bridge/2026-03/{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
}Update an existing oEmbed domain.
curl --request PATCH \
--url 'https://api.hubapi.com/media-bridge/2026-03/{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
Was this page helpful?