Home > @vsf-enterprise/sap-commerce-webservices-sdk > CustomerGroupsApi > removeUsersFromCustomerGroup
CustomerGroupsApi.removeUsersFromCustomerGroup() method
Deletes user from a customer group. To try out the methods of the Customer Groups controller, you must authorize a user who belongs to the “customermanagergroup”. Deletes a user from a customer group.
Signature:
removeUsersFromCustomerGroup(baseSiteId: string, groupId: string, userId: string, options?: any): Promise<import("axios").AxiosResponse<void>>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| baseSiteId | string | Base site identifier |
| groupId | string | Group identifier. |
| userId | string | User identifier. |
| options | any | Override http request option. |
Returns:
Promise<import("axios").AxiosResponse<void>>
Exceptions
{RequiredError} CustomerGroupsApi