Zum Hauptinhalt springen
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

Path Parameters

appId
string
required
objectType
string
required

Body

application/json
clearDescription
boolean
required
secondaryDisplayProperties
string[]
requiredProperties
string[]
searchableProperties
string[]
primaryDisplayProperty
string
description
string
allowsSensitiveProperties
boolean
restorable
boolean
labels
object

Response

successful operation

secondaryDisplayProperties
string[]
required
objectTypeId
string
required
allowsSensitiveProperties
boolean
required
fullyQualifiedName
string
required
labels
object
required
archived
boolean
required
requiredProperties
string[]
required
searchableProperties
string[]
required
name
string
required
id
string
required
description
string
createdAt
string<date-time>
portalId
integer
primaryDisplayProperty
string
updatedAt
string<date-time>
I