curl --request PATCH \
--url https://api.hubapi.com/media-bridge/v1/{appId}/settings/oembed-domains/{oEmbedDomainId} \
--header 'Content-Type: application/json' \
--data '{
"endpoints": {
"discovery": true,
"schemes": [
"<string>"
],
"url": "<string>"
},
"portalId": 123
}'
{
"createdAt": 123,
"endpoints": {
"discovery": true,
"schemes": [
"<string>"
],
"url": "<string>"
},
"deletedAt": 123,
"appId": 123,
"portalId": 123,
"id": 123,
"updatedAt": 123
}
Update an existing oEmbed domain.
curl --request PATCH \
--url https://api.hubapi.com/media-bridge/v1/{appId}/settings/oembed-domains/{oEmbedDomainId} \
--header 'Content-Type: application/json' \
--data '{
"endpoints": {
"discovery": true,
"schemes": [
"<string>"
],
"url": "<string>"
},
"portalId": 123
}'
{
"createdAt": 123,
"endpoints": {
"discovery": true,
"schemes": [
"<string>"
],
"url": "<string>"
},
"deletedAt": 123,
"appId": 123,
"portalId": 123,
"id": 123,
"updatedAt": 123
}
successful operation
The response is of type object
.
Was this page helpful?