{"id":1027,"date":"2026-10-26T16:13:12","date_gmt":"2026-10-26T16:13:12","guid":{"rendered":"https:\/\/phonefarm.tech\/?st-import=64247e6d54c0be1d052878d112db218d"},"modified":"2026-10-27T10:07:06","modified_gmt":"2026-10-27T10:07:06","slug":"api-add-tag-device","status":"publish","type":"post","link":"https:\/\/phonefarm.tech\/es\/api-add-tag-device\/","title":{"rendered":"addTagDevice: Add Device to Tag \/ Group"},"content":{"rendered":"<p>Assign a device serial number to a custom group tag.<\/p>\n<h2>Request Example<\/h2>\n<pre><code class=\"\\\"language-json\\\"\">{\n  \\\"action\\\": \\\"addTagDevice\\\",\n  \\\"devices\\\": \\\"ea85356a\\\",\n  \\\"data\\\": {\n    \\\"name\\\": \\\"Cluster-01\\\"\n  }\n}<\/code><\/pre>\n<h2>Response Example<\/h2>\n<pre><code class=\"\\\"language-json\\\"\">{\n  \\\"code\\\": 10000,\n  \\\"message\\\": \\\"SUCCESS\\\",\n  \\\"data\\\": null\n}<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>Assign a device serial number to a custom group tag. Request Example { \\&#8221;action\\&#8221;: \\&#8221;addTagDevice\\&#8221;, \\&#8221;devices\\&#8221;: \\&#8221;ea85356a\\&#8221;, \\&#8221;data\\&#8221;: { \\&#8221;name\\&#8221;: [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":3789,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[54],"tags":[113,101,100],"class_list":["post-1027","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-device-grouping","tag-assign","tag-groups","tag-tags"],"_links":{"self":[{"href":"https:\/\/phonefarm.tech\/es\/wp-json\/wp\/v2\/posts\/1027","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phonefarm.tech\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phonefarm.tech\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phonefarm.tech\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/phonefarm.tech\/es\/wp-json\/wp\/v2\/comments?post=1027"}],"version-history":[{"count":2,"href":"https:\/\/phonefarm.tech\/es\/wp-json\/wp\/v2\/posts\/1027\/revisions"}],"predecessor-version":[{"id":3894,"href":"https:\/\/phonefarm.tech\/es\/wp-json\/wp\/v2\/posts\/1027\/revisions\/3894"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/phonefarm.tech\/es\/wp-json\/wp\/v2\/media\/3789"}],"wp:attachment":[{"href":"https:\/\/phonefarm.tech\/es\/wp-json\/wp\/v2\/media?parent=1027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phonefarm.tech\/es\/wp-json\/wp\/v2\/categories?post=1027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phonefarm.tech\/es\/wp-json\/wp\/v2\/tags?post=1027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}