Bucket:Set Bucket Default Group

Search (SHIFT+S)




New in this release

Set Bucket Default Group

PUT /object/bucket/{bucketName}/defaultGroup

Updates the default group & default group permissions for the given bucket. If the bucket's namespace is not specified in the payload, the current user's namespace is used.

bucketNameName of the bucket for which the default group is to be updated.

Required Roles

This call has no restrictions.


Prerequisites

The following conditions must be met in order to call this operation.

  • Bucket must exist.


Request Payload

All parameters are required unless otherwise stated.

Field Description Type Notes
<object_bucket_update_default_group>
<default_group_file_read_permission> Flag indicating the Read permission for default group Boolean
<default_group_file_write_permission> Flag indicating the file write permission for default group Boolean
<default_group_file_execute_permission> Flag indicating the file execute permission for default group Boolean
<default_group_dir_read_permission> Flag indicating the directory read permission for default group. This is only applicable to folders created within the Filesystem-Enabled bucket. It is not applicable to files/objects Boolean
<default_group_dir_write_permission> Flag indicating the directory write permission for default group. This is only applicable to folders created within the Filesystem-Enabled bucket. It is not applicable to files/objects Boolean
<default_group_dir_execute_permission> Flag indicating the directory execute permission for default group. This is only applicable to folders created within the Filesystem-Enabled bucket. It is not applicable to files/objects Boolean
<default_group> Default group for Filesystem-enabled buckets String
<namespace> Namespace for bucket String
</object_bucket_update_default_group>

Response Body

Response indicating Success or Failure of the operation

Notes: