> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IMoveLayoutSectionPayload

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: interface
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/model/commands/layout.ts

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Payload of the [IMoveLayoutSection](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.imovelayoutsection/index.md) command.

**Signature:**

```typescript
export interface IMoveLayoutSectionPayload 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [sectionIndex](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.imovelayoutsectionpayload/index.md#imovelayoutsectionpayloadsectionindex) | `readonly` | number \| [ILayoutSectionPath](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ilayoutsectionpath/index.md) | **_(BETA)_** Index of the section to move. Index is zero-based. |
| [toIndex](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.imovelayoutsectionpayload/index.md#imovelayoutsectionpayloadtoindex) | `readonly` | number \| [ILayoutSectionPath](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ilayoutsectionpath/index.md) | **_(BETA)_** Index where the section should be moved. Index is zero-based. For convenience index of -1 means moving the item to the end of the section list. |

## Property details

### IMoveLayoutSectionPayload.sectionIndex

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Index of the section to move.

Index is zero-based.

**Signature:**

```typescript
readonly sectionIndex: number | ILayoutSectionPath;
```

#### Remarks

"number" support will be removed in the next major SDK version. Use [ILayoutSectionPath](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ilayoutsectionpath/index.md) instead.

TODO LX-648: Remove number type in the next major version.

### IMoveLayoutSectionPayload.toIndex

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Index where the section should be moved.

Index is zero-based. For convenience index of -1 means moving the item to the end of the section list.

**Signature:**

```typescript
readonly toIndex: number | ILayoutSectionPath;
```

#### Remarks

"number" support will be removed in the next major SDK version. Use [ILayoutSectionPath](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ilayoutsectionpath/index.md) instead.

TODO LX-648: Remove number type in the next major version.
