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