Update the lock on a file.

Code samples

require 'rest-client'
require 'json'

result = RestClient.post 'https://fusion.oxygenxml.com/api/author/lock/{file-id}',
  params: {
  }

p JSON.parse(result)
import requests

r = requests.post('https://fusion.oxygenxml.com/api/author/lock/{file-id}')

print(r.json())

POST /api/author/lock/{file-id}