# DeleteSectionAccessTable Method

## Overloads

| [DeleteSectionAccessTable(Guid)](https://help.qlik.com/en-US/qlikview-developer/May2024/Subsystems/QMSAPIref/Content/PIX.Services.V12.Api6.IQMS6.DeleteSectionAccessTable.htm#PIX_Services_V12_Api6_IQMS6_DeleteSectionAccessTable_System_Guid_) |  | Removes a single [SectionAccessTable](https://help.qlik.com/en-US/qlikview-developer/May2024/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.SectionAccessTable.htm). |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.V12.Api6.IQMS6.DeleteSectionAccessTable.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.Services.V12.Api6.IQMS6.DeleteSectionAccessTable.htm)

## DeleteSectionAccessTable(Guid)

Removes a single [SectionAccessTable](https://help.qlik.com/en-US/qlikview-developer/May2024/Subsystems/QMSAPIref/Content/PIX.QMSAPI.DataObjects.SectionAccessTable.htm).

### Declaration

```

          void DeleteSectionAccessTable(Guid tableId)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Guid | tableId | The ID of the table to remove. |

### Remarks

##### security

Requires membership of local groups *QlikView Management API* and *QlikView Administrator*.

### Examples

The following example deletes a known section access table.

The service key injection is assumed to be handled behind the scenes. For an example of how to inject the service key, see Samples.

```
using System;
using System.Collections.Generic;
using System.Linq;
using QMSAPI;

class Program
{
    static void Main(string[] args)
    {
        try
        {
            // create a QMS API client
            IQMS apiClient = new QMSClient();

            //retrieve a time limited service key
            ServiceKeyClientMessageInspector.ServiceKey = apiClient.GetTimeLimitedServiceKey();

            //Remove a section access table.
            apiClient.DeleteSectionAccessTable(new Guid("12a32214-1122-112a-8099-8765ce564112"));
        }
        catch (Exception ex)
        {
            Console.WriteLine("An exception occurred: " + ex.Message);
        }
        // wait for user to press any key
        Console.ReadLine();
    }
}
```