Object Storage

Update event rule

patch/object-storage/buckets/{bucket_uuid}/event-rules/{rule_uuid}

Change a rule's name, events, prefix, suffix or destination, or disable it for a while. Applied in the background, usually within a minute.

Authorization

Authorization
Authorization*string

Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.

Path parameters

bucket_uuid*string
rule_uuid*string

Request body

application/jsonRequired
name?string | null
Range1 ≤ length ≤ 64
destination_uuid?string | null
Rangelength ≤ 36
events?array<string> | null
Rangeitems ≤ 10
prefix?string | null
Rangelength ≤ 1024
suffix?string | null
Rangelength ≤ 1024
enabled?boolean | null

Responses

Successful Response

application/json

uuid*string
name*string
bucket_uuid*string
destination?ObjectStorageEventRuleDestination | null
Properties (3)
uuid*string
name*string
type*string
events*array<string>
prefix*string
suffix*string
enabled*boolean
status*string
error_message?string | null
created_at?string | null