Create a lifecycle event hook

You can create a lifecycle event hook by calling this endpoint.

REQUIRED API PERMISSION
write:config_event_hook
Body Params
boolean
required
string
length between 1 and 256000
Defaults to *example code*

Code of the event hook function, if not specified it's generated automatically for each type

string
length between 0 and 1024
string
enum
required
string
required
length between 3 and 64
packageDependencies
object
required

Dependencies used for the event hook function

string

Must be an existing policy tag name

string
length between 1 and 8000
Defaults to *example code*
variables
array of objects
variables
Headers
string
enum
Defaults to application/problem+json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Bearer
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
*/*
application/problem+json