{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Updating roles and scopes for an existing 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":"updating-roles-and-scopes-for-an-existing-user-group","__idx":0},"children":["Updating roles and scopes for an existing user group"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The steps below explain how to view the current roles assigned to a user group, browse available roles for the company, and update the group's role and scope assignments."]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," This workflow applies only to custom user groups (where ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isUnmodifiable"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},"). Standard (platform-created) user groups cannot have their roles and scopes modified. To customize them, duplicate the desired standard group by creating a new custom user group (based on the system-defined group) and modify the desired role assignments as needed."]}]},{"$$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 a company to identify the group you want to update.",{"$$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":["pagination"]}," (with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["limit"]},"). Optionally, provide ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["searchText"]}," for case-insensitive search, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sortParams"]}," to sort by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NAME"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CREATED_AT"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filters"]}," to filter by specific ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["userGroupIds"]},".",{"$$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"]},") and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["pagination"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["totalNumResults"]},".",{"$$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"]}," 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 target user group to confirm its identity and check whether it is modifiable.",{"$$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"]},".",{"$$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:"]}," If ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isUnmodifiable"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]},", the group is a standard (platform-created) user group. Its name, description, and assigned roles and scopes cannot be changed. To customize roles and scopes based on a standard group, duplicate it by creating a new custom user group and copying the desired role assignments. Only custom user groups (where ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["isUnmodifiable"]}," is ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]},") can have their roles and scopes updated."]}]},{"$$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":["View the roles currently assigned to the user group. This step helps you understand the existing role and scope assignments before making changes.",{"$$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"]},".",{"$$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":["pagination"]}," (with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["limit"]},"). Optionally, provide ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["searchText"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sortParams"]}," to sort by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NAME"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filters"]}," to filter by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["roleIds"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["roleProvidedBy"]}," (values: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PLATFORM"]}," or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPANY"]},").",{"$$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"]}," (the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["roleId"]}," of any roles you want to remove in Step 5)."]}]},{"$$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/roles/listrolesv3"},"children":["List user roles for company"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["POST /v3/companies/{companyId}/roles"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Browse all available roles for the company to identify new roles you want to assign to the user group. You can filter to view only platform-provided roles, only custom company roles, or both.",{"$$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":["pagination"]}," (with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["limit"]},"). Optionally, provide ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["searchText"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sortParams"]}," to sort by ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["NAME"]},", and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["filters"]}," with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["roleProvidedBy"]}," (values: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PLATFORM"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPANY"]},") or specific ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["roleIds"]},".",{"$$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 ",{"$$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":["companyId"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["permissions"]}," with permission name and actions, ",{"$$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":["Other APIs will use:"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["roles"]}," > ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," (the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["roleId"]}," of any roles you want to add in Step 5)."]}]},{"$$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/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":["Add new roles with scopes and/or remove existing roles from the user 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"]},".",{"$$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"]},". The ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["rolesToAdd"]}," is an array of objects, each containing the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["roleId"]}," from Step 4 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":["BOOKING_TMC"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CONTRACTING_TMC"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["COMPANY"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["LEGAL_ENTITY"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["PROFILE"]},", or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STEALTH_TYPE"]},", and an optional ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["id"]}," for the target entity.",{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"br","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Note:"]}," See the ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"/guides/rbac_guides/rbac_scope_predicates_guide"},"children":["access with multiple scope predicates"]}," guide if you're adding multiple scopes to a role.",{"$$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 user group roles were updated successfully."]}]},{"$$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/listusergrouprolesv3"},"children":["List user group roles"]}," (optional)"]},{"$$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":["Verify the updated role assignments by listing the roles for the user group again.",{"$$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"]},".",{"$$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":["pagination"]}," (with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["offset"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["limit"]},").",{"$$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"]}," (the updated array of role objects with their associated scope information). The newly added roles and scopes from Step 5 should now appear in this list, and any removed roles should no longer be present."]}]}]}]}]}]},"headings":[{"value":"Updating roles and scopes for an existing user group","id":"updating-roles-and-scopes-for-an-existing-user-group","depth":1}],"frontmatter":{"seo":{"title":"Updating roles and scopes for an existing user group"}},"lastModified":"2026-06-10T10:18:40.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/spotnana/rbac_update_group_roles_workflow","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}