Edit a hub subscription
Edits a subscription’s name, endpoint, event types, event majors, schema major and timeout; it keeps its id, secret, kind and origin. schema_major is required (null clears the pin); every other field is optional and only what is sent changes. A new endpoint moves an active subscription only after it answers a verification probe (422 destination_probe_failed, nothing changes). Send the ETag of a read as If-Match: another operator’s edit in between answers 412 subscription_changed; without If-Match the last write wins. A refusal keeps the hub’s status and carries the hub’s own code in upstream.code: branch on that code, not on the status.
Encabezados
Cuerpo
Respuesta
OK

