# MigrationsApi

All URIs are relative to *https://www.gitlab.com/api/v4*

|Method | HTTP request | Description|
|------------- | ------------- | -------------|
|[**postApiV4AdminMigrationsTimestampMark**](#postapiv4adminmigrationstimestampmark) | **POST** /admin/migrations/{timestamp}/mark | |

# **postApiV4AdminMigrationsTimestampMark**
> postApiV4AdminMigrationsTimestampMark()

Mark the migration as successfully executed

### Example

```typescript
import {
    MigrationsApi,
    Configuration,
    PutApiV4AdminBatchedBackgroundMigrationsIdResumeRequest
} from 'berg';

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

let timestamp: number; //The migration version timestamp (default to undefined)
let putApiV4AdminBatchedBackgroundMigrationsIdResumeRequest: PutApiV4AdminBatchedBackgroundMigrationsIdResumeRequest; // (optional)

const { status, data } = await apiInstance.postApiV4AdminMigrationsTimestampMark(
    timestamp,
    putApiV4AdminBatchedBackgroundMigrationsIdResumeRequest
);
```

### Parameters

|Name | Type | Description  | Notes|
|------------- | ------------- | ------------- | -------------|
| **putApiV4AdminBatchedBackgroundMigrationsIdResumeRequest** | **PutApiV4AdminBatchedBackgroundMigrationsIdResumeRequest**|  | |
| **timestamp** | [**number**] | The migration version timestamp | defaults to undefined|


### Return type

void (empty response body)

### Authorization

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

### HTTP request headers

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


### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
|**201** | 201 Created |  -  |
|**401** | 401 Unauthorized |  -  |
|**403** | 403 Forbidden |  -  |
|**404** | 404 Not found |  -  |
|**422** | You can mark only pending migrations |  -  |

[[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)

