Update exsiting CVFS S3 Bucket properties and User Access
Used to update CVFS S3 Bucket properties and User Access
Path Parameters
- id int32 required
ID of the bucket
- application/json
Request Body
user object
id int32name string- userOperation string
Possible values: [
ADD_READ_WRITE_PERMISSION,REMOVE_READ_WRITE_PERMISSION,ADD_READ_ONLY_PERMISSION,REMOVE_READ_ONLY_PERMISSION]Add or remove user's read-write/read-only permission to access the bucket
- versioning string
Possible values: [
UNVERSIONED,ENABLED,SUSPENDED]To enable/suspend the versioning on the CVFS S3 bucket
- bucketSize string
Possible values: Value must match regular expression
^\d+\s(GB)$The size of the bucket in GB
- 200
- 404
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR,INVALID_INPUT,VALUE_NOT_FOUND,UNKNOWN_EXCEPTION,CONNECTION_PROBLEM,UNKNOWN_SQL_ERROR,INVALID_USER,INVALID_OPERATION_TYPE,INTERNAL_SERVER_PROBLEM,INSUFFICIENT_USER_PERMISSION_ON_ENTITY,INVALID_ENTITY_ID]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
Requested bucket to update does not exist
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR,INVALID_INPUT,VALUE_NOT_FOUND,UNKNOWN_EXCEPTION,CONNECTION_PROBLEM,UNKNOWN_SQL_ERROR,INVALID_USER,INVALID_OPERATION_TYPE,INTERNAL_SERVER_PROBLEM,INSUFFICIENT_USER_PERMISSION_ON_ENTITY,INVALID_ENTITY_ID]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}
Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
Tells about the error occured
- errorCode ErrorCode
Possible values: [
NO_ERROR,INVALID_INPUT,VALUE_NOT_FOUND,UNKNOWN_EXCEPTION,CONNECTION_PROBLEM,UNKNOWN_SQL_ERROR,INVALID_USER,INVALID_OPERATION_TYPE,INTERNAL_SERVER_PROBLEM,INSUFFICIENT_USER_PERMISSION_ON_ENTITY,INVALID_ENTITY_ID]Error code value
{
"errorMessage": "string",
"errorCode": "NO_ERROR"
}