PUT v1/bunits/{bunitId}/cosbucketpresets/{cosBucketPresetId}?updateMethod={updateMethod}

Update a Cos bucket preset.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bunitId The ID of the business unit of the preset integer

Required

cosBucketPresetId The ID of the preset to update integer

Required

updateMethod When saving a preset all buckets with said preset will be updated to reflect the changes.
If value is null an exception will be thrown if there are any buckets related to the preset.
If value is true all buckets will have values locked by preset changed to new values except if
value differs from previous value as this indicates it has been changed by an administrator.
If value is false no changes will be made to related buckets
UpdateMethod

Default value is NotSet

Body Parameters

The preset to update

CosBucketPreset
NameDescriptionTypeAdditional information
Name string

None.

QualityGroup QualityGroup

None.

LockQualityGroup boolean

None.

VersioningState VersioningState

None.

LockVersioningState boolean

None.

HardQuotaBytes integer

None.

LockHardQuotaBytes boolean

None.

RetentionPolicy RetentionPolicy

None.

LockRetentionPolicy boolean

None.

RetentionDays integer

None.

LockRetentionDays boolean

None.

Inherited boolean

None.

BusinessUnit BusinessUnit

None.

BusinessUnitId integer

None.

Id A unique ID for the object.
integer

Read-only.

CreatedDate Time and date the object was created.
date

Read-only.

ArchivedDate Time and date the object was or is going to be archived.

Unarchived objects have no value in ArchivedDate
date

Read-only.

Operations Collection of OperationResult

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

Response Information

Resource Description

The updated preset

CosBucketPreset
NameDescriptionTypeAdditional information
Name string

None.

QualityGroup QualityGroup

None.

LockQualityGroup boolean

None.

VersioningState VersioningState

None.

LockVersioningState boolean

None.

HardQuotaBytes integer

None.

LockHardQuotaBytes boolean

None.

RetentionPolicy RetentionPolicy

None.

LockRetentionPolicy boolean

None.

RetentionDays integer

None.

LockRetentionDays boolean

None.

Inherited boolean

None.

BusinessUnit BusinessUnit

None.

BusinessUnitId integer

None.

Id A unique ID for the object.
integer

Read-only.

CreatedDate Time and date the object was created.
date

Read-only.

ArchivedDate Time and date the object was or is going to be archived.

Unarchived objects have no value in ArchivedDate
date

Read-only.

Operations Collection of OperationResult

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.