PATCH
/
media-bridge
/
v1
/
{appId}
/
schemas
/
{objectType}
Actualizar el esquema de un tipo de objeto
curl --request PATCH \
  --url https://api.hubapi.com/media-bridge/v1/{appId}/schemas/{objectType} \
  --header 'Content-Type: application/json' \
  --data '{
  "secondaryDisplayProperties": [
    "<string>"
  ],
  "requiredProperties": [
    "<string>"
  ],
  "searchableProperties": [
    "<string>"
  ],
  "clearDescription": true,
  "primaryDisplayProperty": "<string>",
  "description": "<string>",
  "allowsSensitiveProperties": true,
  "restorable": true,
  "labels": {
    "plural": "<string>",
    "singular": "<string>"
  }
}'
{
  "secondaryDisplayProperties": [
    "<string>"
  ],
  "objectTypeId": "<string>",
  "description": "<string>",
  "allowsSensitiveProperties": true,
  "fullyQualifiedName": "<string>",
  "labels": {
    "plural": "<string>",
    "singular": "<string>"
  },
  "archived": true,
  "createdAt": "2023-11-07T05:31:56Z",
  "requiredProperties": [
    "<string>"
  ],
  "searchableProperties": [
    "<string>"
  ],
  "portalId": 123,
  "primaryDisplayProperty": "<string>",
  "name": "<string>",
  "id": "<string>",
  "updatedAt": "2023-11-07T05:31:56Z"
}
Productos compatibles
Se requiere uno de los siguientes productos o productos de ediciones superiores.
Marketing HubMarketing HubGratuito
Sales HubSales HubGratuito
Service HubService HubGratuito
Content HubContent HubGratuito

Authorizations

hapikey
string
query
required

Body

application/json

Response

200
application/json

successful operation

The response is of type object.