Skip to content

Create Rh Event Schema

POST
/v1/rh-event-schema

Create a standard event schema, requires globalAdmin:: permissions

Authorizations

Request Body required

object
event_name
required

Name of the event, should be unique

string
description
required

Description of the event

string
value_jsonschema

JSONSchema definition of the setting

object
state

Whether this standard event is enabled

string
Allowed values: enabled disabled deny

Responses

200

Successful Response

object
event_name
required

Name of the event, unique for sandbox_id

string
value_jsonschema

JSONSchema definition of the setting

object
state

Indicate the state of the schema, enabled, disabled or deny

string
default: enabled
description
required

Description of the event

string

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string