ban_user
Bans users from a group. This works even if the users aren’t in the group. If they are currently in the group, they will also be removed.
auto-generated example may not be a valid request. Seev1.BanUserRequestfor all fields.
{
"account": "0cc10e61-d64c-4dbc-b51c-334f7dd45a4a",
"group_id": "EdSqI90cS0UomDpgUXOlCoObWvQOXlH5G3Z2d3f4ayE=",
"type": "ban_user",
"users": [
{
"number": "+13215551234"
}
],
"version": "v1"
}
- Request Type:
v1.BanUserRequest - Success Response Type:
v1.JsonGroupV2Info - Error response types:
v1.NoSuchAccountErrorv1.ServerNotFoundErrorv1.InvalidProxyErrorv1.UnknownGroupErrorv1.GroupVerificationErrorv1.InternalErrorv1.InvalidRequestErrorv1.AuthorizationFailedError- Can be caused if signald is setup as a linked device that has been removed by the primary device. If trying to update a group, this can also be caused if group permissions don’t allow the update (e.g. current role insufficient or not a member).v1.SQLErrorv1.GroupPatchNotAcceptedError- Caused when server rejects the group update.