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.

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Parámetros de ruta

bucket_uuid*string
rule_uuid*string

Cuerpo de la petición

application/jsonObligatorio
name?string | null
Rango1 ≤ length ≤ 64
destination_uuid?string | null
Rangolength ≤ 36
events?array<string> | null
Rangoitems ≤ 10
prefix?string | null
Rangolength ≤ 1024
suffix?string | null
Rangolength ≤ 1024
enabled?boolean | null

Respuestas

Successful Response

application/json

uuid*string
name*string
bucket_uuid*string
destination?ObjectStorageEventRuleDestination | null
Propiedades (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