# Drop privilege group

Delete a custom privilege group.

SDK: `@zilliz/milvus2-sdk-node@3.0.10` · Tested with Milvus 3.0.6

Canonical documentation: https://milvus-io.github.io/milvus-sdk-node/rest-api/privilege-groups/drop/

## Section links

- [cURL command](https://milvus-io.github.io/milvus-sdk-node/rest-api/privilege-groups/drop/#curl-command)
- [Default request](https://milvus-io.github.io/milvus-sdk-node/rest-api/privilege-groups/drop/#default-request)
- [Sample response](https://milvus-io.github.io/milvus-sdk-node/rest-api/privilege-groups/drop/#sample-response)
- [Request fields](https://milvus-io.github.io/milvus-sdk-node/rest-api/privilege-groups/drop/#request-fields)

`POST /v2/vectordb/privilege_groups/drop`

Replace `https://your-cluster.example.com` with your Milvus endpoint. Set `MILVUS_TOKEN` for authentication or omit the Authorization header on an unauthenticated cluster.

## cURL command

```bash
curl --request POST --url 'https://your-cluster.example.com/v2/vectordb/privilege_groups/drop' \
  --header 'Content-Type: application/json' \
  --header "Authorization: Bearer ${MILVUS_TOKEN}" \
  --data-raw '{
  "privilegeGroupName": "catalog_reads"
}'
```

## Default request

```json
{
  "privilegeGroupName": "catalog_reads"
}
```

## Sample response

```json
{
  "code": 0,
  "data": {}
}
```

## Request fields

- `privilegeGroupName` string (required)
  Name of the custom privilege group.
- `privileges` array of string
  Privilege names to add or remove.

See [`HttpClient.dropPrivilegeGroup`](https://milvus-io.github.io/milvus-sdk-node/api-reference/http-client/#dropprivilegegroup) for the Node.js SDK method.
