Skip to content

Update Rh Event Schema

PUT
/v1/rh-event-schema/{event_name}

Update an standard event schema, requires global admin permission

Authorizations

Parameters

Path Parameters

event_name
required

Standard event name

string

standard event name

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

404

Not Found

422

Validation Error

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