Box.V2.Managers.BoxFoldersManager.RemoveWatermarkAsync C# (CSharp) Method

RemoveWatermarkAsync() public method

Used to remove the watermark for a corresponding Box folder.
public RemoveWatermarkAsync ( string id ) : Task
id string Id of the folder.
return Task
        public async Task<bool> RemoveWatermarkAsync(string id)
        {
            id.ThrowIfNullOrWhiteSpace("id");

            BoxRequest request = new BoxRequest(_config.FoldersEndpointUri, string.Format(Constants.WatermarkPathString, id))
               .Method(RequestMethod.Delete);

            IBoxResponse<BoxWatermarkResponse> response = await ToResponseAsync<BoxWatermarkResponse>(request).ConfigureAwait(false);

            return response.Status == ResponseStatus.Success;
        }