# Delete Group Share

Stop sharing a base to a certain group.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Account Operations - User",
    "description": "The official SeaTable API Reference (OpenAPI 3.0).",
    "version": "6.2"
  },
  "servers": [
    {
      "url": "https://{server}",
      "variables": {
        "server": {
          "default": "cloud.seatable.io"
        }
      }
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "metrics-enabled": false,
    "proxy-enabled": false
  },
  "tags": [
    {
      "name": "Sharing",
      "description": "Manage shares"
    }
  ],
  "components": {
    "securitySchemes": {
      "AccountTokenAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "This is the [Account-Token](/reference/authentication)."
      }
    },
    "parameters": {
      "workspace_id": {
        "name": "workspace_id",
        "description": "id of your workspace.",
        "in": "path",
        "schema": {
          "type": "integer",
          "minimum": 1
        },
        "required": true,
        "example": 127
      },
      "base_name": {
        "name": "base_name",
        "description": "name of your base.",
        "in": "path",
        "schema": {
          "type": "string"
        },
        "required": true,
        "example": "My Projects"
      },
      "group_id": {
        "name": "group_id",
        "description": "The ID of the group.",
        "in": "path",
        "schema": {
          "type": "integer",
          "minimum": 1
        },
        "required": true,
        "example": 1
      }
    }
  },
  "paths": {
    "/api/v2.1/workspace/{workspace_id}/dtable/{base_name}/group-shares/{group_id}/": {
      "delete": {
        "tags": [
          "Sharing"
        ],
        "summary": "Delete Group Share",
        "operationId": "deleteGroupShare",
        "description": "Stop sharing a base to a certain group.",
        "security": [
          {
            "AccountTokenAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/workspace_id"
          },
          {
            "$ref": "#/components/parameters/base_name"
          },
          {
            "$ref": "#/components/parameters/group_id"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                },
                "example": {
                  "success": true
                }
              }
            }
          }
        }
      }
    }
  },
  "_id": {
    "buffer": {
      "0": 105,
      "1": 212,
      "2": 220,
      "3": 12,
      "4": 20,
      "5": 34,
      "6": 131,
      "7": 31,
      "8": 141,
      "9": 111,
      "10": 187,
      "11": 147
    }
  }
}
```