<?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: Find object ID in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Find-object-ID/m-p/665738#M54851</link>
    <description>&lt;P&gt;Thanks so much!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jul 2022 03:05:33 GMT</pubDate>
    <dc:creator>jbiddle</dc:creator>
    <dc:date>2022-07-15T03:05:33Z</dc:date>
    <item>
      <title>Find object ID</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Find-object-ID/m-p/664999#M54799</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created a few different custom objects, which is great. But now I want to delete a custom object (as I created a more suitable one). It's not as straight forward to delete one.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Firstly - where do I find the object ID? Just for reference, I'm a marketer which limited code exposure, so I followed the steps in this video to originally create the object:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=egYJL4Axohg" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=egYJL4Axohg&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 06:56:10 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Find-object-ID/m-p/664999#M54799</guid>
      <dc:creator>jbiddle</dc:creator>
      <dc:date>2022-07-14T06:56:10Z</dc:date>
    </item>
    <item>
      <title>Re: Find object ID</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Find-object-ID/m-p/665237#M54819</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/417648"&gt;@jbiddle&lt;/a&gt;&amp;nbsp;The simplest way to get the object ID for a custom object will be to look at the url when you are in your hubspot portal when looking the object dashboard. The Object ID will always be the number that starts with "2-"&lt;BR /&gt;&lt;BR /&gt;For example, in the url:&amp;nbsp;&lt;A href="https://app.hubspot.com/contacts/5555555/objects/2-1234567/views/all/list" target="_blank"&gt;https://app.hubspot.com/contacts/5555555/objects/2-1234567/views/all/list&lt;/A&gt;&lt;BR /&gt;The object ID would be "2-1234567"&lt;BR /&gt;&lt;BR /&gt;A note for deleting objects. Assuming you doing it in postman or some other API Platform, would need to delete, and then if you want to replace it at a future point, you will need to delete again with the "archive=true" query.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;First delete(archives the object): &lt;A href="https://api.hubapi.com/crm/v3/schemas/2-1234567?hapikey=API_KEY" target="_blank"&gt;https://api.hubapi.com/crm/v3/schemas/2-1234567?hapikey=API_KEY&lt;/A&gt;&lt;BR /&gt;Second delete(permenantly deletes object):&amp;nbsp;&lt;A href="https://api.hubapi.com/crm/v3/schemas/2-1234567?hapikey=API_KEY" target="_blank"&gt;https://api.hubapi.com/crm/v3/schemas/2-1234567?hapikey=API_KEY&lt;/A&gt;&lt;SPAN&gt;&amp;amp;archived=true&lt;BR /&gt;&lt;BR /&gt;Another note is that the object must be completely empty to be deleted.&lt;BR /&gt;&lt;BR /&gt;Hope this help!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2022 14:41:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Find-object-ID/m-p/665237#M54819</guid>
      <dc:creator>Brownstephen101</dc:creator>
      <dc:date>2022-07-14T14:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: Find object ID</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Find-object-ID/m-p/665738#M54851</link>
      <description>&lt;P&gt;Thanks so much!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 03:05:33 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Find-object-ID/m-p/665738#M54851</guid>
      <dc:creator>jbiddle</dc:creator>
      <dc:date>2022-07-15T03:05:33Z</dc:date>
    </item>
  </channel>
</rss>

