CMS
Deutsch
cURL
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" }
Mettre à jour le schéma d’un type d’objet existant
successful operation
The response is of type object.
object