createGroup()

in src/lib/service/custos-service/custos-service-groups.js [28:44]


    createGroup({clientId, name, description, ownerId, realm_roles, client_roles, attributes, sub_groups}) {
        return this.custosService.axiosInstance.post(
            `${CustosService.ENDPOINTS.GROUPS}/group`,
            {
                clientId: clientId,
                group: {
                    name,
                    description,
                    ownerId,
                    realm_roles,
                    client_roles,
                    attributes,
                    sub_groups
                }
            }
        ).then(({data}) => data);
    }