Update Rh Event Schema
PUT/v1/rh-event-schema/:event_name
Update an standard event schema, requires global admin permission
Request
Path Parameters
event_name Event Namerequired
standard event name
- application/json
Body
required
event_name Event Name (string)required
Name of the event, unique for sandbox_id
value_jsonschema object
Default value: [object Object]
JSONSchema definition of the setting
state State (string)
Possible values: [enabled, disabled, deny]
An enumeration.
description Description (string)required
Description of the event
Responses
- 200
- 404
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
event_name Event Name (string)required
Name of the event, unique for sandbox_id
value_jsonschema object
Default value: [object Object]
JSONSchema definition of the setting
state State (string)
Possible values: [enabled, disabled, deny]
An enumeration.
description Description (string)required
Description of the event
{
"event_name": "string",
"value_jsonschema": {},
"state": "enabled",
"description": "string"
}
Not Found
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...