{"id":2380,"date":"2023-08-04T14:03:45","date_gmt":"2023-08-04T06:03:45","guid":{"rendered":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-move-the-profile-to-specific-group\/"},"modified":"2024-12-04T15:26:13","modified_gmt":"2024-12-04T07:26:13","slug":"api-move-the-profile-to-specific-group","status":"publish","type":"docs","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-move-the-profile-to-specific-group\/","title":{"rendered":"API Move the Profile to Specific Group"},"content":{"rendered":"\n<p class=\"has-medium-font-size\"><strong>API Move the profile to specific group:<\/strong><\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Request Url: <\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">https:\/\/api.xlogin.us\/v1\/tag\/profile\/add?token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&amp;tagId=xxxxxx&amp;profileId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx<\/mark><\/code><\/pre>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Request Type: POST\/GET<\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<figure class=\"wp-block-table has-medium-font-size\"><table><tbody><tr><td><strong>Name<\/strong><\/td><td><strong>Type<\/strong><\/td><td><strong>Description<\/strong><\/td><td><strong>required<\/strong><\/td><\/tr><tr><td>token<\/td><td>string<\/td><td>Authentication token<\/td><td>true<\/td><\/tr><tr><td>tagId<\/td><td>string<\/td><td>Group ID<\/td><td>true<\/td><\/tr><tr><td>profileId<\/td><td>string<\/td><td>Browser profile ID<\/td><td>true<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">Request<\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<pre class=\"wp-block-code has-medium-font-size\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">{\n    \"token\": \"66e9f73f3617c6afdc6768f7a61a58ae\",\n    \"tagId\": \"655\",\n    \"profileId\": \"9BC92B7D-BBF9-4FFC-8812-B1D1C241BAC9\"\n}<\/mark><\/code><\/pre>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Note:<\/strong><\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">1. Token: Please refer to&nbsp;the <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/view-or-change-the-api-token\/\" data-type=\"URL\" data-id=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/view-or-change-the-api-token\/\" target=\"_blank\">\"API Token\"<\/a><\/strong> tutorial.<\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">2. tagId:&nbsp; Please refer to the&nbsp;<strong><a href=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-to-get-all-groups-list\/\" data-type=\"URL\" data-id=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-to-get-all-groups-list\/\" target=\"_blank\" rel=\"noreferrer noopener\">\"API Get all group list\"<\/a><\/strong> tutorial.<\/p>\n\n\n\n<p><br><\/p>\n\n\n\n<p class=\"has-medium-font-size\">3. profileId: Please refer to the <strong><a rel=\"noreferrer noopener\" href=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/where-can-the-profile-id-be-found\/\" data-type=\"URL\" data-id=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/where-can-the-profile-id-be-found\/\" target=\"_blank\">\"Where can the Profile ID be Found?\"<\/a><\/strong> tutorial or use the&nbsp;<strong><a href=\"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-get-the-list-of-all-available-browser-profiles\/?swcfpc=1\" target=\"_blank\" rel=\"noreferrer noopener\">profile\/list interface<\/a><\/strong>&nbsp;to get all profileId.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"778\" height=\"448\" src=\"https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/5.png\" alt=\"\" class=\"wp-image-2654\" srcset=\"https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/5.png 778w, https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/5-300x173.png 300w, https:\/\/www.xlogin.us\/help\/wp-content\/uploads\/2023\/08\/5-768x442.png 768w\" sizes=\"auto, (max-width: 778px) 100vw, 778px\" \/><\/figure>\n","protected":false},"featured_media":0,"parent":810,"menu_order":20,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-2380","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/comments?post=2380"}],"version-history":[{"count":7,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2380\/revisions"}],"predecessor-version":[{"id":3346,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2380\/revisions\/3346"}],"up":[{"embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/810"}],"next":[{"title":"API Move the Profile from a Specific Group to the Default Group","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-move-the-profile-from-a-specific-group-to-the-default-group\/","href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2386"}],"prev":[{"title":"API to Get All Groups List","link":"https:\/\/www.xlogin.us\/help\/docs\/api-automation\/api-to-get-all-groups-list\/","href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/docs\/2375"}],"wp:attachment":[{"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/media?parent=2380"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.xlogin.us\/help\/wp-json\/wp\/v2\/doc_tag?post=2380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}