Box Developer Documentation

Join BoxWorks 2024 to discover what's possible with content and AI!

Register now!

Remove watermark from folder

delete
https://api.box.com/2.0
/folders/:folder_id/watermark

Removes the watermark from a folder.

Request

bearer [ACCESS_TOKEN]
application/json

Path Parameters

stringin pathrequired
12345

The unique identifier that represent a folder.

The ID for any folder can be determined by visiting this folder in the web application and copying the ID from the URL. For example, for the URL https://*.app.box.com/folder/123 the folder_id is 123.

The root folder of a Box account is always represented by the ID 0.

Response

none

An empty response will be returned when the watermark was successfully deleted.

application/jsonClient error

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

application/jsonClient error

An unexpected client error.

delete
Remove watermark from folder
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/folders/4353455/watermark" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
TypeScript Gen
await client.folderWatermarks.deleteFolderWatermark(folder.id);
Python Gen
client.folder_watermarks.delete_folder_watermark(folder.id)
.NET Gen
await client.FolderWatermarks.DeleteFolderWatermarkAsync(folderId: folder.Id);
Swift Gen (Beta)
try await client.folderWatermarks.deleteFolderWatermark(folderId: folder.id)
Java
BoxFolder folder = new BoxFolder(api, id);
folder.removeWatermark();
Python
client.folder(folder_id='11111').delete_watermark()
print('The folder watermark was deleted!')
.NET
await client.FoldersManager.RemoveWatermarkAsync("22222");
Node
client.folders.removeWatermark('22222')
	.then(() => {
		// removal succeeded — no value returned
	});