Join BoxWorks 2024 to discover what's possible with content and AI!
Register now!Removes the watermark from a file.
12345
The unique identifier that represents a file.
The ID for any file can be determined
by visiting a file in the web application
and copying the ID from the URL. For example,
for the URL https://*.app.box.com/files/123
the file_id
is 123
.
Removes the watermark and returns an empty response.
Returns an error if the file did not have a watermark applied to it.
An unexpected client error.
curl -i -X DELETE "https://api.box.com/2.0/files/12345/watermark" \
-H "authorization: Bearer <ACCESS_TOKEN>"
await client.fileWatermarks.deleteFileWatermark(file.id);
client.file_watermarks.delete_file_watermark(file.id)
await client.FileWatermarks.DeleteFileWatermarkAsync(fileId: file.Id);
try await client.fileWatermarks.deleteFileWatermark(fileId: file.id)
BoxFile file = new BoxFile(api, id);
file.removeWatermark();
client.file(file_id='12345').delete_watermark()
print('The file watermark was deleted!')
await client.FilesManager.RemoveWatermarkAsync("11111");
client.files.removeWatermark('11111')
.then(() => {
// removal succeeded — no value returned
});