---
agentTools:
  projectIndex: https://docs.doubletick.io/llms.txt
---

# Remove members from a group

Remove customers from a broadcast group by phone number.

### Before you call
- `groupId` is required.
- `phoneNumbers` is a non-empty list of valid phone numbers with country code.
- You need permission to remove members from that group.

### How it works
- The response has two lists: `success` (removed) and `failed`.
- A number lands in `failed` if no customer has it, it is not in the group, or the removal failed.
- Duplicate numbers in the request are removed once.
- The customers themselves are not deleted.

### Rate limit
- 60 requests per minute.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/groups/remove-members": {
      "delete": {
        "summary": "Remove members from a group",
        "description": "Remove customers from a broadcast group by phone number.\n\n### Before you call\n- `groupId` is required.\n- `phoneNumbers` is a non-empty list of valid phone numbers with country code.\n- You need permission to remove members from that group.\n\n### How it works\n- The response has two lists: `success` (removed) and `failed`.\n- A number lands in `failed` if no customer has it, it is not in the group, or the removal failed.\n- Duplicate numbers in the request are removed once.\n- The customers themselves are not deleted.\n\n### Rate limit\n- 60 requests per minute.",
        "tags": [
          "Broadcast Groups"
        ],
        "operationId": "remove-members-from-group",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RemoveMembersFromGroupRequestDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoveMembersFromGroupResponseDto"
                }
              }
            }
          },
          "400": {
            "description": "Bad request, invalid input provided"
          },
          "401": {
            "description": "Invalid or missing API key"
          },
          "429": {
            "description": "Too Many Requests: Rate Limit Exceeded",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "statusCode": {
                      "type": "number",
                      "example": 429
                    },
                    "message": {
                      "type": "string",
                      "example": "Too Many Requests: Rate Limit Exceeded"
                    },
                    "error": {
                      "type": "string",
                      "example": "Too Many Requests"
                    }
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "basic": []
          }
        ]
      }
    }
  },
  "info": {
    "title": "DoubleTick Public APIs",
    "description": "",
    "version": "2.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://public.doubletick.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "basic": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "description": "Public API key."
      }
    },
    "schemas": {
      "RemoveMembersFromGroupRequestDto": {
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string",
            "description": "The ID of the group to remove members from",
            "example": "group_xyz"
          },
          "phoneNumbers": {
            "type": "array",
            "description": "List of phone numbers to remove from the group",
            "items": {
              "type": "string",
              "example": "919999999999"
            },
            "minItems": 1
          }
        },
        "required": [
          "groupId",
          "phoneNumbers"
        ]
      },
      "RemoveMembersFromGroupResponseDto": {
        "type": "object",
        "properties": {
          "success": {
            "type": "array",
            "description": "List of phone numbers successfully removed from the group",
            "items": {
              "type": "string",
              "example": "919999999999"
            }
          },
          "failed": {
            "type": "array",
            "description": "List of phone numbers that could not be removed",
            "items": {
              "type": "string",
              "example": "919999999999"
            }
          }
        },
        "required": [
          "success",
          "failed"
        ]
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 99,
      "1": 154,
      "2": 196,
      "3": 207,
      "4": 67,
      "5": 147,
      "6": 180,
      "7": 0,
      "8": 57,
      "9": 36,
      "10": 231,
      "11": 202
    }
  }
}
```