

{"id":14272,"date":"2018-04-24T12:32:39","date_gmt":"2018-04-24T12:32:39","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=14272"},"modified":"2021-05-09T13:07:32","modified_gmt":"2021-05-09T07:37:32","slug":"mongodb-delete-document","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/","title":{"rendered":"MongoDB Delete Document with Methods and Examples"},"content":{"rendered":"<p>In our Previous Tutorial, we have studied\u00a0<strong>How MongoDB Update Document &#8211; Insert &amp; Query<\/strong>. Here, in this <strong>MongoDB tutorial<\/strong>, we are going to study How MongoDB Delete Document. In addition, we will discuss methods which are used for delete document in MongoDB.<\/p>\n<p>So, let&#8217;s start &#8211;\u00a0MongoDB Delete Document.<\/p>\n<h2><span style=\"font-family: Georgia, Georgia, serif;font-weight: inherit\">MongoDB Delete Document<\/span><\/h2>\n<p>MongoDB provides the option to delete the documents from the collection. You can delete one, many or all of the documents. There are three methods in MongoDB to delete documents as discussed below.<\/p>\n<ul>\n<li><strong>db.collection.deleteOne() Method<\/strong><\/li>\n<li><strong>db.collection.deleteMany() Method<\/strong><\/li>\n<li><strong>db.collection.remove() Method<\/strong><\/li>\n<\/ul>\n<h3>a. The db.collection.deleteOne() Method<\/h3>\n<p>This method deletes only one document from the collection, even if multiple documents match the criteria.<\/p>\n<p>Let\u2019s see an example of this method.<br \/>\nFirst, let\u2019s query which shows multiple documents.<\/p>\n<div id=\"attachment_14342\" style=\"width: 726px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-14342\" class=\"wp-image-14342 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete1.jpg\" alt=\"MongoDB Delete Document\" width=\"716\" height=\"162\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete1.jpg 716w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete1-150x34.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete1-300x68.jpg 300w\" sizes=\"auto, (max-width: 716px) 100vw, 716px\" \/><\/a><p id=\"caption-attachment-14342\" class=\"wp-caption-text\">Delete Document in MongoDB &#8211;\u00a0db.collection.deleteOne() Method<\/p><\/div>\n<p><span style=\"font-family: Verdana, Geneva, sans-serif;font-weight: inherit\">This collection has two documents with two fields that have different values. Now, let\u2019s use this method for the criteria set.<\/span><\/p>\n<div id=\"attachment_14344\" style=\"width: 723px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete2.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-14344\" class=\"wp-image-14344 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete2.jpg\" alt=\"MongoDB Delete Document\" width=\"713\" height=\"160\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete2.jpg 713w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete2-150x34.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete2-300x67.jpg 300w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/a><p id=\"caption-attachment-14344\" class=\"wp-caption-text\">Delete Document in MongoDB &#8211; db.collection.deleteOne() Method<\/p><\/div>\n<p>Let\u2019s confirm it by running a query.<\/p>\n<div id=\"attachment_14349\" style=\"width: 728px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete3.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-14349\" class=\"wp-image-14349 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete3.jpg\" alt=\"MongoDB Delete Document\" width=\"718\" height=\"159\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete3.jpg 718w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete3-150x33.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/delete3-300x66.jpg 300w\" sizes=\"auto, (max-width: 718px) 100vw, 718px\" \/><\/a><p id=\"caption-attachment-14349\" class=\"wp-caption-text\">Delete Document in MongoDB &#8211;\u00a0db.collection.deleteOne() Method<\/p><\/div>\n<h3>b. The db.collection.deleteMany() Method<\/h3>\n<p>This method deletes all the documents that match the criteria. Let\u2019s see the documents that we have in \u201cdataflair\u201d collection.<\/p>\n<div id=\"attachment_14350\" style=\"width: 729px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/deleteMany.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-14350\" class=\"wp-image-14350 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/deleteMany.jpg\" alt=\"MongoDB Delete Document\" width=\"719\" height=\"164\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/deleteMany.jpg 719w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/deleteMany-150x34.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/deleteMany-300x68.jpg 300w\" sizes=\"auto, (max-width: 719px) 100vw, 719px\" \/><\/a><p id=\"caption-attachment-14350\" class=\"wp-caption-text\">MongoDB Delete Document &#8211;\u00a0db.collection.deleteMany() Method<\/p><\/div>\n<p>Now let\u2019s delete more than one document that matches the criteria.<\/p>\n<div id=\"attachment_14354\" style=\"width: 727px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/deleteMany2.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-14354\" class=\"wp-image-14354 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/deleteMany2.jpg\" alt=\"MongoDB Delete Document\" width=\"717\" height=\"169\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/deleteMany2.jpg 717w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/deleteMany2-150x35.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/deleteMany2-300x71.jpg 300w\" sizes=\"auto, (max-width: 717px) 100vw, 717px\" \/><\/a><p id=\"caption-attachment-14354\" class=\"wp-caption-text\">MongoDB Delete Document &#8211; db.collection.deleteMany() Method<\/p><\/div>\n<p>We have deleted two documents from the collection. A message displays as:<br \/>\n<strong><em>{\u201cacknowledged\u201d: true, \u201cdeletedCount\u201d:2)<\/em>\u00a0<\/strong><\/p>\n<p>This shows that 2 documents have been deleted.<\/p>\n<h3>c. The db.collection.remove() Method<\/h3>\n<p>You can delete one or all the documents that match the specified criteria by using this method.<\/p>\n<div id=\"attachment_14353\" style=\"width: 723px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/remove-1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-14353\" class=\"wp-image-14353 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/remove-1.jpg\" alt=\"MongoDB Delete Document\" width=\"713\" height=\"121\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/remove-1.jpg 713w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/remove-1-150x25.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/remove-1-300x51.jpg 300w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/a><p id=\"caption-attachment-14353\" class=\"wp-caption-text\">Delete Document in MongoDB &#8211;\u00a0db.collection.remove() Method<\/p><\/div>\n<p>We have removed one document from the collection using remove() method. We can also delete all the documents just by leaving the filter in remove().<\/p>\n<div id=\"attachment_14357\" style=\"width: 635px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/removeall-1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-14357\" class=\"wp-image-14357 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/removeall-1.jpg\" alt=\"Delete Document in MongoDB -\u00a0db.collection.remove() Method\" width=\"625\" height=\"121\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/removeall-1.jpg 625w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/removeall-1-150x29.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/removeall-1-300x58.jpg 300w\" sizes=\"auto, (max-width: 625px) 100vw, 625px\" \/><\/a><p id=\"caption-attachment-14357\" class=\"wp-caption-text\">Delete Document in MongoDB &#8211;\u00a0db.collection.remove() Method<\/p><\/div>\n<p>So, this was all\u00a0about MongoDB Delete Document Tutorial. Hope you like our explanation<b><\/b>.<\/p>\n<h2>Conclusion<\/h2>\n<p>Hence, we study MongoDB Delete Document. At last, we discuss different Methods of delete documents in MongoDB in detail.\u00a0Furthermore, if you have any query, feel free to ask in the\u00a0comment section.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In our Previous Tutorial, we have studied\u00a0How MongoDB Update Document &#8211; Insert &amp; Query. Here, in this MongoDB tutorial, we are going to study How MongoDB Delete Document. In addition, we will discuss methods&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":14308,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[3581,3582,3583,3737,8810],"class_list":["post-14272","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mongodb","tag-db-collection-deletemany-method","tag-db-collection-deleteone-method","tag-db-collection-remove-method","tag-delete-document-in-mongodb","tag-mongodb-delete-document"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MongoDB Delete Document with Methods and Examples - DataFlair<\/title>\n<meta name=\"description\" content=\"Methods of MongoDB Delete Document-How to delete document in MongoDB, db.collection.deleteOne(), db.collection.deleteMany(), db.collection.remove() method\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MongoDB Delete Document with Methods and Examples - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Methods of MongoDB Delete Document-How to delete document in MongoDB, db.collection.deleteOne(), db.collection.deleteMany(), db.collection.remove() method\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-04-24T12:32:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-09T07:37:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/MongoDB-Delete-Document.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MongoDB Delete Document with Methods and Examples - DataFlair","description":"Methods of MongoDB Delete Document-How to delete document in MongoDB, db.collection.deleteOne(), db.collection.deleteMany(), db.collection.remove() method","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/","og_locale":"en_US","og_type":"article","og_title":"MongoDB Delete Document with Methods and Examples - DataFlair","og_description":"Methods of MongoDB Delete Document-How to delete document in MongoDB, db.collection.deleteOne(), db.collection.deleteMany(), db.collection.remove() method","og_url":"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-04-24T12:32:39+00:00","article_modified_time":"2021-05-09T07:37:32+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/MongoDB-Delete-Document.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"MongoDB Delete Document with Methods and Examples","datePublished":"2018-04-24T12:32:39+00:00","dateModified":"2021-05-09T07:37:32+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/"},"wordCount":441,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/MongoDB-Delete-Document.jpg","keywords":["db.collection.deleteMany() Method","db.collection.deleteOne() Method","db.collection.remove() Method","Delete Document in MongoDB","MongoDB Delete Document"],"articleSection":["MongoDB Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/","url":"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/","name":"MongoDB Delete Document with Methods and Examples - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/MongoDB-Delete-Document.jpg","datePublished":"2018-04-24T12:32:39+00:00","dateModified":"2021-05-09T07:37:32+00:00","description":"Methods of MongoDB Delete Document-How to delete document in MongoDB, db.collection.deleteOne(), db.collection.deleteMany(), db.collection.remove() method","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/MongoDB-Delete-Document.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/MongoDB-Delete-Document.jpg","width":1200,"height":628,"caption":"MongoDB Delete Document"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/mongodb-delete-document\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"MongoDB Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/mongodb\/"},{"@type":"ListItem","position":3,"name":"MongoDB Delete Document with Methods and Examples"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/14272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=14272"}],"version-history":[{"count":6,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/14272\/revisions"}],"predecessor-version":[{"id":92950,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/14272\/revisions\/92950"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/14308"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=14272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=14272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=14272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}