Skip to main content

remove_user_from_groups

Creates, updates, deletes, gets or lists a remove_user_from_groups resource.

Overview

Nameremove_user_from_groups
TypeResource
Idazure.messaging_webpubsubservice.remove_user_from_groups

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
remove_user_from_groupdeletegroup_name, user_id, hub, endpointRemove a user from the target group. Remove a user from the target group.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
group_namestringTarget group name, which length should be greater than 0 and less than 1025. Required.
hubstring
user_idstringTarget user Id. Required.

DELETE examples

Remove a user from the target group. Remove a user from the target group.

DELETE FROM azure.messaging_webpubsubservice.remove_user_from_groups
WHERE group_name = '{{ group_name }}' --required
AND user_id = '{{ user_id }}' --required
AND hub = '{{ hub }}' --required
AND endpoint = '{{ endpoint }}' --required
;