Manage Applications

    Remove file watermark

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

    Removes the watermark from a file.

    Request

    application/json

    Path Parameters

    stringin pathrequired
    12345

    The unique identifier that represent 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

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

    application/jsonClient Error

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

    You can now try out some of our APIs live, right here in the documentation.
    Log In

    Request Example

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