# POST /File/UndoCheckOut/{id}/

Discards the changes to the checked out file with the specified ID, and cancels the check out.

## Request

Method | Request URI
--- | ---
POST | /API/File/UndoCheckOut/{id}/?sessionId=value

### URI Parameters

URI Parameter | Description
--- | ---
sessionId | ID of the current session.

### Path Parameters

Path Parameter | Description
--- | ---
id | The ID of the file for which to undo the check out.

### Request Body

There is no Request Body for this function.

## Response

### Response Body

A Dundas.BI.WebApi.Models.UndoCheckOutResultData, or a status code indicating the reason for failure.

© 1999-2021 Dundas Data Visualization, Inc.