Documentation Index

Fetch the complete documentation index at: https://help.12dsynergy.com/llms.txt

Use this file to discover all available pages before exploring further.

Cancel Check-out File

Prev Next

This tutorial demonstrates how to cancel a checked-out file via the RESTful API.

Additional API documentation

To get a list of most of the API requests available, with the 12d Synergy server running, browse http://synergy.myserver.com/api-docs/ui/index.

(Replace synergy.myserver.com with the external server address and update the port numbers if necessary.)

1.1. Getting the Personal Access Token to Access API

The tutorial for getting the PAT is here: Generate PAT in Web client.

1.2. Cancelling Check-out of a File using the File ID

This request is in the API documentation under Files marked 'Cancel a file which is checked-out'.

Sample Request

curl --location 'http://{your-server-here}/api/v1/files/{file-id-here}/CancelCheckout' \

--header 'Authorization: Bearer <token-here>' \

--header 'Content-Type: application/json'

Below is a sample response when cancelling the checked-out file b2.txt.

Sample Response

True