# MeetingsPresetsApi

All URIs are relative to *https://admin-api.connected.dev*

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**createPreset**](#createpreset) | **POST** /meetings/presets | Create a meeting preset|
|[**deletePreset**](#deletepreset) | **DELETE** /meetings/presets/{presetId} | Delete a meeting preset|
|[**getPreset**](#getpreset) | **GET** /meetings/presets/{presetId} | Get a meeting preset|
|[**getPresets**](#getpresets) | **GET** /meetings/presets | List meeting presets|
|[**updatePreset**](#updatepreset) | **PUT** /meetings/presets/{presetId} | Update a meeting preset|

# **createPreset**
> CreatePreset200Response createPreset(meetingPresetCreateInputs)

Creates a reusable meeting configuration preset (e.g. default recording, chat, and AI settings) for the organization, requiring the \"create\" permission on meetings.

### Example

```typescript
import {
    MeetingsPresetsApi,
    Configuration,
    MeetingPresetCreateInputs
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new MeetingsPresetsApi(configuration);

let meetingPresetCreateInputs: MeetingPresetCreateInputs; //

const { status, data } = await apiInstance.createPreset(
    meetingPresetCreateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **meetingPresetCreateInputs** | **MeetingPresetCreateInputs**|  | |


### Return type

**CreatePreset200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **deletePreset**
> CreateAccountInvitations200Response deletePreset()

Permanently deletes a meeting configuration preset by ID, requiring the \"delete\" permission on meetings, and removes it from the cached preset list.

### Example

```typescript
import {
    MeetingsPresetsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new MeetingsPresetsApi(configuration);

let presetId: string; //The preset identifier (default to undefined)

const { status, data } = await apiInstance.deletePreset(
    presetId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **presetId** | [**string**] | The preset identifier | defaults to undefined|


### Return type

**CreateAccountInvitations200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getPreset**
> CreatePreset200Response getPreset()

Returns details for a single meeting preset, an app-level resource defining participant roles, permissions, media settings, and UI configuration; requires \"read\" permission on meetings.

### Example

```typescript
import {
    MeetingsPresetsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new MeetingsPresetsApi(configuration);

let presetId: string; //The preset identifier (default to undefined)

const { status, data } = await apiInstance.getPreset(
    presetId
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **presetId** | [**string**] | The preset identifier | defaults to undefined|


### Return type

**CreatePreset200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **getPresets**
> GetPresets200Response getPresets()

Returns a paginated list of meeting presets defined for the organization\'s meetings app, supporting page, pageSize, and orderBy parameters; requires \"read\" permission on meetings.

### Example

```typescript
import {
    MeetingsPresetsApi,
    Configuration
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new MeetingsPresetsApi(configuration);

let page: number; //Page number (optional) (default to 1)
let pageSize: number; //Number of items per page (optional) (default to 25)
let orderBy: string; //Field to order by (optional) (default to undefined)
let search: string; //Search query (optional) (default to undefined)

const { status, data } = await apiInstance.getPresets(
    page,
    pageSize,
    orderBy,
    search
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **page** | [**number**] | Page number | (optional) defaults to 1|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
| **search** | [**string**] | Search query | (optional) defaults to undefined|


### Return type

**GetPresets200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: Not defined
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **updatePreset**
> CreatePreset200Response updatePreset(meetingPresetUpdateInputs)

Updates the configuration of an existing meeting preset by ID, requiring the \"update\" permission on meetings, and refreshes the cached preset data.

### Example

```typescript
import {
    MeetingsPresetsApi,
    Configuration,
    MeetingPresetUpdateInputs
} from '@connectedxm/admin-sdk';

const configuration = new Configuration();
const apiInstance = new MeetingsPresetsApi(configuration);

let presetId: string; //The preset identifier (default to undefined)
let meetingPresetUpdateInputs: MeetingPresetUpdateInputs; //

const { status, data } = await apiInstance.updatePreset(
    presetId,
    meetingPresetUpdateInputs
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **meetingPresetUpdateInputs** | **MeetingPresetUpdateInputs**|  | |
| **presetId** | [**string**] | The preset identifier | defaults to undefined|


### Return type

**CreatePreset200Response**

### Authorization

[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**200** | Successful response |  -  |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

