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
Range
1 ≤ length ≤ 64destination_uuid?string | null
Range
length ≤ 36events?array<string> | null
Range
items ≤ 10prefix?string | null
Range
length ≤ 1024suffix?string | null
Range
length ≤ 1024enabled?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