Object Storage
Update event destination
patch
/object-storage/event-destinations/{destination_uuid}Rename a destination, change its webhook URL or payload format, or disable and enable it. A disabled destination receives nothing; enabling one that was disabled after repeated failures starts over.
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
destination_uuid*string
Cuerpo de la petición
application/jsonObligatorio
name?string | null
Rango
1 ≤ length ≤ 64url?string | null
Webhook destinations only
Rango
length ≤ 2048payload_format?string | null
Valores
"cubepath""s3"enabled?boolean | null
Respuestas
Successful Response
application/json
uuid*string
name*string
type*string
url_masked?string | null
notificator?ObjectStorageEventChannelOut | null
Propiedades (3)
id*string
name*string
type*string
payload_format*string
status*string
disabled_reason?string | null
previous_secret_expires_at?string | null
last_success_at?string | null
last_failure_at?string | null
last_error?string | null
rules_count?integer
Por defecto
0created_at?string | null