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
}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
The appId for the media bridge app. It is possible to have multiple apps in your developer account that use the media bridge.
The ID of the domain to update.
Was this page helpful?