Skip to main content
POST
Save Start Hook

Authorizations

Authorization
string
header
required

API key authentication. Obtain your API key from the Replicas dashboard under Organization → Settings → API Keys.

Path Parameters

environmentId
string
required

Environment UUID, or the literal string global.

Body

application/json
content
string
required

Shell script to persist and activate. Empty content clears the active start hook.

Response

Start hook saved and activated, or cleared when content is empty

start_hook
object | null
required

The saved active start hook, or null when the request cleared the active start hook.