<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Change the required properties in a custom object in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Change-the-required-properties-in-a-custom-object/m-p/401092#M39660</link>
    <description>&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/103388"&gt;@rbharris1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you figure this out?&lt;/P&gt;
&lt;P&gt;What was your patch request json body?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jan 2021 17:09:39 GMT</pubDate>
    <dc:creator>dennisedson</dc:creator>
    <dc:date>2021-01-19T17:09:39Z</dc:date>
    <item>
      <title>Change the required properties in a custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Change-the-required-properties-in-a-custom-object/m-p/400505#M39590</link>
      <description>&lt;P&gt;I created a custom object in a new portal. The custom object only has one test instance at the moment. When I created the custom object, I specified several required properties. I have since decided only to have one required property (name). I ran an API patch call and successfully (I think) redefined the schema. However, I am unable to delete one of the formerly required properties (close_date).&amp;nbsp; I have tried to do this from the CRM UI and from the API. The CRM UI tells me that I can't delete it because property is still a required property. Of course, the API delete endpoint doesn't give any meaningful response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the output for the 'Get existing schema' endpoint for my custom object after patching it to change the requiredProperties value. You'll notice the only defined required property is 'name' :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "labels": {
    "singular": "Project",
    "plural": "Projects"
  },
  "requiredProperties": [
    "name"
  ],
  "searchableProperties": [
    "name"
  ],
  "primaryDisplayProperty": "name",
  "secondaryDisplayProperties": [
    "division",
    "amount"
  ],
  "archived": false,
  "restorable": true,
  "metaType": "PORTAL_SPECIFIC",
  "id": "1265528",
  "fullyQualifiedName": "p6610943_project",
  "createdAt": "2021-01-15T13:16:09.296Z",
  "updatedAt": "2021-01-17T16:02:19.736Z",
  "objectTypeId": "2-1265528",
  "properties": [
    {
      "updatedAt": "2021-01-15T13:16:09.418Z",
      "createdAt": "2021-01-15T13:16:09.418Z",
      "name": "amount",
      "label": "Total Contract Price",
      "type": "number",
      "fieldType": "number",
      "description": "",
      "groupName": "project_information",
      "options": [],
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": false,
      "archived": false,
      "hasUniqueValue": false,
      "hidden": false,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": false,
        "readOnlyValue": false
      },
      "formField": true
    },
    {
      "updatedAt": "2021-01-15T13:16:09.420Z",
      "createdAt": "2021-01-15T13:16:09.420Z",
      "name": "close_date",
      "label": "Close Date",
      "type": "date",
      "fieldType": "date",
      "description": "",
      "groupName": "project_information",
      "options": [],
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": false,
      "archived": false,
      "hasUniqueValue": false,
      "hidden": false,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": false,
        "readOnlyValue": false
      },
      "formField": false
    },
    {
      "updatedAt": "2021-01-15T13:16:09.431Z",
      "createdAt": "2021-01-15T13:16:09.431Z",
      "name": "division",
      "label": "Division",
      "type": "enumeration",
      "fieldType": "select",
      "description": "",
      "groupName": "project_information",
      "options": [
        {
          "label": "Barrier Cable",
          "value": "barrier_cable",
          "description": "",
          "displayOrder": -1,
          "hidden": false
        },
        {
          "label": "PT-Slab on Grade",
          "value": "pt_sog",
          "description": "",
          "displayOrder": -1,
          "hidden": false
        },
        {
          "label": "Post Tensioning Commercial",
          "value": "pt_commercial",
          "description": "",
          "displayOrder": -1,
          "hidden": false
        },
        {
          "label": "Restoration",
          "value": "restoration",
          "description": "",
          "displayOrder": -1,
          "hidden": false
        }
      ],
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": false,
      "archived": false,
      "hasUniqueValue": false,
      "hidden": false,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": false,
        "readOnlyValue": false
      },
      "formField": true
    },
    {
      "name": "hs_all_accessible_team_ids",
      "label": "All accessible team IDs",
      "type": "enumeration",
      "fieldType": "checkbox",
      "description": "The team IDs, including up the team hierarchy, corresponding to all owner referencing properties for this object, both default and custom",
      "groupName": "project_information",
      "options": [],
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": false,
      "hasUniqueValue": false,
      "hidden": true,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": true,
        "readOnlyValue": true
      },
      "formField": false
    },
    {
      "name": "hs_created_by_user_id",
      "label": "Created by user ID",
      "type": "number",
      "fieldType": "number",
      "description": "The user that created this object. This value is automatically set by HubSpot and may not be modified.",
      "groupName": "project_information",
      "options": [],
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": false,
      "hasUniqueValue": false,
      "hidden": false,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": true,
        "readOnlyValue": true
      },
      "formField": false
    },
    {
      "name": "hs_createdate",
      "label": "Object create date/time",
      "type": "datetime",
      "fieldType": "date",
      "description": "The date and time at which this object was created. This value is automatically set by HubSpot and may not be modified.",
      "groupName": "project_information",
      "options": [],
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": false,
      "hasUniqueValue": false,
      "hidden": false,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": true,
        "readOnlyValue": true
      },
      "formField": false
    },
    {
      "name": "hs_lastmodifieddate",
      "label": "Object last modified date/time",
      "type": "datetime",
      "fieldType": "date",
      "description": "Most recent timestamp of any property update for this object. This includes HubSpot internal properties, which can be visible or hidden. This property is updated automatically.",
      "groupName": "project_information",
      "options": [],
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": false,
      "hasUniqueValue": false,
      "hidden": false,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": true,
        "readOnlyValue": true
      },
      "formField": false
    },
    {
      "name": "hs_merged_object_ids",
      "label": "Merged object IDs",
      "type": "enumeration",
      "fieldType": "checkbox",
      "description": "The list of object IDs that have been merged into this object. This value is automatically set by HubSpot and may not be modified.",
      "groupName": "project_information",
      "options": [],
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": false,
      "hasUniqueValue": false,
      "hidden": true,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": true,
        "readOnlyValue": true
      },
      "formField": false
    },
    {
      "name": "hs_object_id",
      "label": "Object ID",
      "type": "number",
      "fieldType": "number",
      "description": "The unique ID for this object. This value is automatically set by HubSpot and may not be modified.",
      "groupName": "project_information",
      "options": [],
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": false,
      "hasUniqueValue": false,
      "hidden": false,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": true,
        "readOnlyValue": true
      },
      "formField": false
    },
    {
      "name": "hs_updated_by_user_id",
      "label": "Updated by user ID",
      "type": "number",
      "fieldType": "number",
      "description": "The user that last updated this object. This value is automatically set by HubSpot and may not be modified.",
      "groupName": "project_information",
      "options": [],
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": false,
      "hasUniqueValue": false,
      "hidden": false,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": true,
        "readOnlyValue": true
      },
      "formField": false
    },
    {
      "name": "hs_user_ids_of_all_owners",
      "label": "User IDs of all owners",
      "type": "enumeration",
      "fieldType": "checkbox",
      "description": "The user IDs of all owners of this object",
      "groupName": "project_information",
      "options": [],
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": false,
      "hasUniqueValue": false,
      "hidden": true,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": true,
        "readOnlyValue": true
      },
      "formField": false
    },
    {
      "updatedAt": "2021-01-15T13:16:09.432Z",
      "createdAt": "2021-01-15T13:16:09.432Z",
      "name": "name",
      "label": "Project Name",
      "type": "string",
      "fieldType": "text",
      "description": "",
      "groupName": "project_information",
      "options": [],
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": false,
      "archived": false,
      "hasUniqueValue": false,
      "hidden": false,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": false,
        "readOnlyValue": false
      },
      "formField": true
    },
    {
      "updatedAt": "2021-01-15T14:01:20.185Z",
      "createdAt": "2021-01-15T14:01:20.185Z",
      "name": "project_owner",
      "label": "Project Owner",
      "type": "enumeration",
      "fieldType": "OWNER",
      "description": "HubSpot user who owns the project",
      "groupName": "project_information",
      "options": [],
      "createdUserId": "10265915",
      "updatedUserId": "10265915",
      "referencedObjectType": "OWNER",
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": true,
      "archived": false,
      "hasUniqueValue": false,
      "hidden": false,
      "showCurrencySymbol": false,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": false,
        "readOnlyValue": false
      },
      "formField": false
    },
    {
      "updatedAt": "2021-01-15T13:16:09.433Z",
      "createdAt": "2021-01-15T13:16:09.433Z",
      "name": "sf_project_id",
      "label": "Salesforce Project ID",
      "type": "string",
      "fieldType": "text",
      "description": "",
      "groupName": "project_information",
      "options": [],
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": false,
      "archived": false,
      "hasUniqueValue": false,
      "hidden": false,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": false,
        "readOnlyValue": false
      },
      "formField": false
    },
    {
      "updatedAt": "2021-01-15T13:16:09.419Z",
      "createdAt": "2021-01-15T13:16:09.419Z",
      "name": "stage",
      "label": "Stage",
      "type": "enumeration",
      "fieldType": "select",
      "description": "",
      "groupName": "project_information",
      "options": [
        {
          "label": "Award",
          "value": "award",
          "description": "",
          "displayOrder": -1,
          "hidden": false
        },
        {
          "label": "Budgetary",
          "value": "budgetary",
          "description": "",
          "displayOrder": -1,
          "hidden": false
        },
        {
          "label": "Cancelled",
          "value": "cancelled",
          "description": "",
          "displayOrder": -1,
          "hidden": false
        },
        {
          "label": "Closed Lost",
          "value": "closed_lost",
          "description": "",
          "displayOrder": -1,
          "hidden": false
        },
        {
          "label": "Closed Won",
          "value": "closed_won",
          "description": "",
          "displayOrder": -1,
          "hidden": false
        },
        {
          "label": "Intermediate Proposal",
          "value": "intermediate_proposal",
          "description": "",
          "displayOrder": -1,
          "hidden": false
        },
        {
          "label": "Negotiation",
          "value": "negotiation",
          "description": "",
          "displayOrder": -1,
          "hidden": false
        }
      ],
      "displayOrder": -1,
      "calculated": false,
      "externalOptions": false,
      "archived": false,
      "hasUniqueValue": false,
      "hidden": false,
      "modificationMetadata": {
        "archivable": true,
        "readOnlyDefinition": false,
        "readOnlyValue": false
      },
      "formField": false
    }
  ],
  "associations": [
    {
      "fromObjectTypeId": "2-1265528",
      "toObjectTypeId": "0-49",
      "name": "project_to_email",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "7",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "0-49",
      "toObjectTypeId": "2-1265528",
      "name": "project_to_email",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "8",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "2-1265528",
      "toObjectTypeId": "0-46",
      "name": "project_to_note",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "1",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "0-46",
      "toObjectTypeId": "2-1265528",
      "name": "project_to_note",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "2",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "2-1265528",
      "toObjectTypeId": "0-2",
      "name": "project_to_company",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "15",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "0-2",
      "toObjectTypeId": "2-1265528",
      "name": "project_to_company",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "16",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "2-1265528",
      "toObjectTypeId": "0-3",
      "name": "project_to_deal",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "13",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "0-3",
      "toObjectTypeId": "2-1265528",
      "name": "project_to_deal",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "14",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "2-1265528",
      "toObjectTypeId": "0-51",
      "name": "project_to_conversation_session",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "9",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "0-51",
      "toObjectTypeId": "2-1265528",
      "name": "project_to_conversation_session",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "10",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "2-1265528",
      "toObjectTypeId": "0-47",
      "name": "project_to_meeting_event",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "3",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "0-47",
      "toObjectTypeId": "2-1265528",
      "name": "project_to_meeting_event",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "4",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "2-1265528",
      "toObjectTypeId": "0-48",
      "name": "project_to_call",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "11",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "0-48",
      "toObjectTypeId": "2-1265528",
      "name": "project_to_call",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "12",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "2-1265528",
      "toObjectTypeId": "0-27",
      "name": "project_to_task",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "5",
      "createdAt": null,
      "updatedAt": null
    },
    {
      "fromObjectTypeId": "0-27",
      "toObjectTypeId": "2-1265528",
      "name": "project_to_task",
      "cardinality": "ONE_TO_MANY",
      "inverseCardinality": "ONE_TO_MANY",
      "id": "6",
      "createdAt": null,
      "updatedAt": null
    }
  ],
  "name": "project"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the screenshots from the CRM properties settings showing me that the close_date property is still required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2021-01-17 11-26-55.png" style="width: 581px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/36609iC57332BB7EACE7D0/image-dimensions/581x77?v=v2" width="581" height="77" role="button" title="Screenshot from 2021-01-17 11-26-55.png" alt="Screenshot from 2021-01-17 11-26-55.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2021-01-17 11-27-17.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/36610iEC086D254BD3F7F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot from 2021-01-17 11-27-17.png" alt="Screenshot from 2021-01-17 11-27-17.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jan 2021 16:35:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Change-the-required-properties-in-a-custom-object/m-p/400505#M39590</guid>
      <dc:creator>rbharris1</dc:creator>
      <dc:date>2021-01-17T16:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Change the required properties in a custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Change-the-required-properties-in-a-custom-object/m-p/401092#M39660</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/103388"&gt;@rbharris1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you figure this out?&lt;/P&gt;
&lt;P&gt;What was your patch request json body?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 17:09:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Change-the-required-properties-in-a-custom-object/m-p/401092#M39660</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-01-19T17:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Change the required properties in a custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Change-the-required-properties-in-a-custom-object/m-p/401141#M39681</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/13982"&gt;@dennisedson&lt;/a&gt;&amp;nbsp;I haven't yet figured this out. Here's my JSON patch request body. I'm pretty certain that it was successfully delivered/executed because originally, after I first created the custom object, when I ran the Get Existing Schema endpoint the requiredProperties property listed several properties. Unfortunately, I didn't save a copy of that output.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "requiredProperties": [
    "name"
  ]
}&lt;/LI-CODE&gt;&lt;P&gt;I sent this request using the patch method to &lt;A href="https://api.hubapi.com/crm/v3/schemas/MY_OBJECT_FULLY_QUALIFIED_NAME?hapikey=MY_API_KEY&amp;amp;portalId=MY_PORTAL_ID&amp;nbsp;" target="_blank"&gt;https://api.hubapi.com/crm/v3/schemas/MY_OBJECT_FULLY_QUALIFIED_NAME?hapikey=MY_API_KEY&amp;amp;portalId=MY_PORTAL_ID&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 19:31:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Change-the-required-properties-in-a-custom-object/m-p/401141#M39681</guid>
      <dc:creator>rbharris1</dc:creator>
      <dc:date>2021-01-19T19:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change the required properties in a custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Change-the-required-properties-in-a-custom-object/m-p/408645#M40462</link>
      <description>&lt;P&gt;So, I managed to figure this one out. I don't know if this is a new feature in Custom Objects since I first had the problem or if this was there all along and just not well documented.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "required" setting preventing deletion was in Settings under the "Set fields seen when creating Projects" area under "Custom Objects." I clicked "Make it optional" there and voila! I can delete the property!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-02-11 at 7.37.58 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/37951i5DFB1A936C53F979/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-02-11 at 7.37.58 PM.png" alt="Screen Shot 2021-02-11 at 7.37.58 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2021-02-11 at 7.38.27 PM.png" style="width: 729px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/37952i05CFECC8265ECAC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2021-02-11 at 7.38.27 PM.png" alt="Screen Shot 2021-02-11 at 7.38.27 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 00:39:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Change-the-required-properties-in-a-custom-object/m-p/408645#M40462</guid>
      <dc:creator>rbharris1</dc:creator>
      <dc:date>2021-02-12T00:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change the required properties in a custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Change-the-required-properties-in-a-custom-object/m-p/408826#M40477</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/103388"&gt;@rbharris1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting your solution.&amp;nbsp; Looks like I lost track of your response and never got back to you &lt;span class="lia-unicode-emoji" title=":sad_but_relieved_face:"&gt;😥&lt;/span&gt;.&amp;nbsp; Apologies for that&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2021 14:24:55 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Change-the-required-properties-in-a-custom-object/m-p/408826#M40477</guid>
      <dc:creator>dennisedson</dc:creator>
      <dc:date>2021-02-12T14:24:55Z</dc:date>
    </item>
    <item>
      <title>Re: Change the required properties in a custom object</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Change-the-required-properties-in-a-custom-object/m-p/631368#M53127</link>
      <description>&lt;P&gt;So it looks like the accepted solution does not work in 2022, but I managed to do the following in Python API:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from hubspot.crm.schemas import ObjectTypeDefinitionPatch

object_patch = ObjectTypeDefinitionPatch(primary_display_property='my_property', required_properties=['my_property'], searchable_properties=['my_property'])
hubspot_client.crm.schemas.core_api.update(object_type=MY_OBJECT_TYPE, object_type_definition_patch=object_patch)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;So the idea is to reset all the parts of the object schema where the old column is used (&lt;SPAN class=""&gt;primary_display_property&lt;/SPAN&gt;&lt;SPAN class=""&gt;, required_properties, and searchable_properties in my case)&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 22:10:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Change-the-required-properties-in-a-custom-object/m-p/631368#M53127</guid>
      <dc:creator>nkotlyarov</dc:creator>
      <dc:date>2022-05-11T22:10:20Z</dc:date>
    </item>
  </channel>
</rss>

