Box Developer Documentation
Latest version

Remove watermark from file

delete
https://api.box.com/2.0
/files/:file_id/watermark

Removes the watermark from a file.

Request

bearer [ACCESS_TOKEN]
application/json

Path Parameters

stringin pathrequired
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.

Response

none

Removes the watermark and returns an empty response.

application/jsonClient error

Returns an error if the file did not have a watermark applied to it.

application/jsonClient error

An unexpected client error.

delete
Remove watermark from file
You can now try out some of our APIs live, right here in the documentation.
Log in

Request Example

cURL
curl -i -X DELETE "https://api.box.com/2.0/files/12345/watermark" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
TypeScript Gen
await client.fileWatermarks.deleteFileWatermark(file.id);
Python Gen
client.file_watermarks.delete_file_watermark(file.id)
.NET Gen
await client.FileWatermarks.DeleteFileWatermarkAsync(fileId: file.Id);
Java
BoxFile file = new BoxFile(api, id);
file.removeWatermark();
Python
client.file(file_id='12345').delete_watermark()
print('The file watermark was deleted!')
.NET
await client.FilesManager.RemoveWatermarkAsync("11111");
Node
client.files.removeWatermark('11111')
	.then(() => {
		// removal succeeded — no value returned
	});