update_grail_bucket
Update a Grail retention bucket's display name, retention days, or included query limit days using optimistic locking. Provide the current version from the bucket's GET response.
Instructions
Update a Grail retention bucket by name (WRITE, Dynatrace Storage Management v1). Uses an optimistic-locking PUT; include the current 'version' in the bucket body. Requires DT_ENABLE_WRITES=true and the platform scope storage:bucket-definitions:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucketName | Yes | The bucket name to update. | |
| bucket | Yes | Full bucket update body per Storage Management v1 spec (UpdateBucket schema). Mutable fields: displayName, retentionDays, includedQueryLimitDays. Must include 'version' (current optimistic locking version from GET). Read-only fields (bucketName, table, status, bucketClass, metricInterval) are accepted but ignored by the API. |