Skip to main content
PATCH
Update a lifecycle hook

Authorizations

Authorization
string
header
required

API key in format: rg_live_xxxx. Pass as a Bearer token in the Authorization header.

Path Parameters

agentId
string<uuid>
required

Agent ID.

hookId
string<uuid>
required

Hook ID.

Body

application/json
name
string
input
object
exposeAs
string | null

Send null to stop exposing the result.

required
boolean
default:false
timeoutMs
integer
default:3000
enabled
boolean

Soft-disable without deleting.

Response

Success.

hook
object