Modifies any property of the bucket.

Syntax
.edit(/id/, /data/)

Arguments

Field nameTypeDescription
id
string
Reference ID of the bucket. 
data
object
Options to be modified in the bucket. 
name
string
[optional]
A name for the bucket.
description
string
[optional] 
Description for the bucket. 
visible
bool
[optional]
Set if the bucket will be visible or not. Default True.
tags
array
[optional]
An array of objects with key and value.  

Returns {Promise<JSON>}