{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Duplicating a standard user group to create a custom user group","meta":[{"name":"robots","content":"noindex"}],"llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"duplicating-a-standard-user-group-to-create-a-custom-user-group","__idx":0},"children":["Duplicating a standard user group to create a custom user group"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The steps below explain how to duplicate a standard (platform-provided) user group. This is done by reading its roles, scopes, and members and then creating a new custom user group with the same or modified configuration. This is useful when you want to start from a standard group's permissions as a baseline and adjust them to fit a more specific use case, such as creating a client-specific agent group from the TMC Agent standard group."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," The Spotnana API does not provide a dedicated endpoint to duplicate or clone a user group in a single call. To replicate a standard user group's configuration, you must explicitly read the source group's roles, scopes, and members (steps 1-4), and then pass those values when creating and configuring the new custom group (steps 5-7). This means the role IDs, scope definitions (including ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audiences"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["predicates"]},"), and member user IDs must all be extracted from the source group's API responses and provided in the request bodies of the corresponding create and update calls. If you need to modify any of the roles, scopes, or user memberships while creating the new group, you can do so at the point of assignment without affecting the original standard group."]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Step"},"children":["Step"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Name"},"children":["Name"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Endpoint"},"children":["Endpoint"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Details"},"children":["Details"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/rbacapi/user-groups/listusergroupsforcompany"},"children":["List user groups for company"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /v3/companies/{companyId}/user-groups/list"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["List all available user groups for the company to identify the standard group you want to duplicate.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["URL path requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companyId"]},".",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response will contain:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["userGroups"]}," (an array of user group objects each containing ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["name"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companyId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isUnmodifiable"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["createdAt"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updatedAt"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["createdBy"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updatedBy"]},"). Look for groups where ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isUnmodifiable"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}," to identify standard groups.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Other APIs will use:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["userGroups"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," (referred to as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["groupId"]}," of the standard group in subsequent steps)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/rbacapi/user-groups/getusergroup"},"children":["Get user group"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v3/companies/{companyId}/user-groups/{groupId}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["View the details of the standard user group to confirm it is the correct group to duplicate.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["URL path requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companyId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["groupId"]}," (the standard group ID from Step 1).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response will contain:"]}," the full user group object including ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["name"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companyId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isUnmodifiable"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["createdAt"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updatedAt"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["createdBy"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updatedBy"]},".",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," Confirm that ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isUnmodifiable"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},", indicating this is a standard (platform-provided) group. The name and description from this response can serve as a reference when naming your new custom group."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/rbacapi/roles/listusergrouprolesv3"},"children":["List user group roles"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /v3/companies/{companyId}/user-groups/{groupId}/roles"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Retrieve the roles and scopes assigned to the standard group. These will serve as the baseline for the new custom group.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["URL path requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companyId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["groupId"]}," (the standard group ID from Step 1).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response will contain:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["roles"]}," (an array of role objects each containing role details with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["name"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isPlatformRole"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["permissions"]},", and associated scope with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audiences"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["predicates"]},").",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Other APIs will use:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["role"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["scope"]}," (the role and scope pairs to be replicated or modified in Step 6)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/rbacapi/user-groups/listusergroupmembers"},"children":["List user group members"]}," (optional)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /v3/companies/{companyId}/user-groups/{groupId}/members"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Retrieve the members of the standard group if you want to add the same (or a subset of) users to the new custom group.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["URL path requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companyId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["groupId"]}," (the standard group ID from Step 1).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response will contain:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["members"]}," (an array of member objects each containing ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["userId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["addedAt"]},").",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Other APIs will use:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["members"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["userId"]}," (the user IDs to be added to the new group in Step 7)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/rbacapi/user-groups/createusergroup"},"children":["Create user group"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /v3/companies/{companyId}/user-groups"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Create the new custom user group that will serve as the duplicate.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["URL path requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companyId"]},".",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Request body requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["name"]}," (a descriptive name for the new group, between 1-255 characters) and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]}," (explaining the group's purpose, up to 1000 characters). You can reference the standard group's name and description from Step 2 and modify them to reflect the new group's purpose.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response will contain:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," (the unique identifier of the newly created custom user group).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Other APIs will use:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," (referred to as the new ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["groupId"]}," in subsequent steps)."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/rbacapi/roles/updateusergrouprolesv3"},"children":["Update user group roles"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PATCH /v3/companies/{companyId}/user-groups/{groupId}/roles"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Assign roles and scopes to the new custom group, using the standard group's role and scope pairs from Step 3 as the baseline. You can replicate them exactly or modify them to suit the new group's requirements.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["URL path requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companyId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["groupId"]}," (the new custom group ID from Step 5).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Request body requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rolesToAdd"]}," (an array of objects, each containing a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["roleId"]}," and a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["scope"]}," object defining the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["audiences"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["predicates"]},". Each predicate specifies a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PLATFORM"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BOOKING_TMC"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONTRACTING_TMC"]},", etc.).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," This is the step where you customize the duplicate. For example, if duplicating a TMC Agent standard group to create a client-specific agent group, you would keep the same roles but narrow the scope to a single organization instead of the entire TMC.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response will contain:"]}," a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200"]}," status code confirming the roles were assigned successfully."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{"start":7},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/rbacapi/user-groups/updateusergroupmembers"},"children":["Update user group members"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PATCH /v3/companies/{companyId}/user-groups/{groupId}/members"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Add users to the new custom group. You can add some or all of the same users from the standard group (identified in Step 4) or add entirely different users.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["URL path requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companyId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["groupId"]}," (the new custom group ID from Step 5).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Request body requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["userIdsToAdd"]}," (an array of user IDs to add to the group).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," Users being added must belong to the same company as the user group. Users can belong to multiple user groups simultaneously, so adding them to this new custom group does not remove them from the original standard group. Once added, they will automatically inherit all roles and scopes assigned in Step 6.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response will contain:"]}," a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["200"]}," status code confirming the members were added successfully."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"ol","attributes":{"start":8},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[]}]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/openapi/rbacapi/user-groups/getusergroup"},"children":["Get user group"]}," (optional)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /v3/companies/{companyId}/user-groups/{groupId}"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Verify the newly created custom group's details.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["URL path requires:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companyId"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["groupId"]}," (the new custom group ID from Step 5).",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Response will contain:"]}," the full user group object including ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["name"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["description"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["companyId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isUnmodifiable"]}," (which should be ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}," for the new custom group), ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["createdAt"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updatedAt"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["createdBy"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["updatedBy"]},". This confirms the custom group has been successfully created as a duplicate of the standard group with any of your modifications applied."]}]}]}]}]}]},"headings":[{"value":"Duplicating a standard user group to create a custom user group","id":"duplicating-a-standard-user-group-to-create-a-custom-user-group","depth":1}],"frontmatter":{"seo":{"title":"Duplicating a standard user group to create a custom user group"}},"lastModified":"2026-06-10T10:18:40.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/spotnana/rbac_duplicate_group_workflow","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}