# Class RemoveSection

RemoveSection

A builder for `RemoveSection` objects. Developers can remove a section from the card by
passing a `RemoveSection` to `ModifyCard`


Only available for Google Workspace add-ons that extend Google Workspace Studio.

Sample usage:

```javascript
const removeSection = AddOnsResponseService.newRemoveSection().setSectionId('sample_id');

const modifyCard = AddOnsResponseService.newModifyCard().setRemoveSection(removeSection);
```

### Methods

| Method | Return type | Brief description |
|---|---|---|
| `setSectionId(sectionId)` | `RemoveSection` | Sets the section ID of the section to be removed. |

## Detailed documentation

### `setSectionId(sectionId)`

Sets the section ID of the section to be removed.

#### Parameters

| Name | Type | Description |
|---|---|---|
| `sectionId` | `String` | The ID of the section to be removed. |

#### Return


`RemoveSection` --- This remove section object, for chaining.