PATCH
/
media-bridge
/
v1
/
{appId}
/
schemas
/
{objectType}
Das Schema für einen Objekttyp aktualisieren
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"
}
Unterstützte Produkte
Erfordert eines der folgenden Produkte oder höher.
Marketing HubMarketing HubKostenlos
Sales HubSales HubKostenlos
Service HubService HubKostenlos
Content HubContent HubKostenlos

Authorizations

hapikey
string
query
required

Body

application/json

Response

200
application/json

successful operation

The response is of type object.