add/update a rule
add/update a rule
application/json
Request Body required
- Array [
- ]
enabled boolean
group_name string
namespace string
template string
variables object[]
name string
value string
type string
description string
provider_namespace uint64
Responses
- 200
- default
A successful response.
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
rule object
id uint64
name string
enabled boolean
group_name string
namespace string
template string
variables object[]
name string
value string
type string
description string
created_at date-time
updated_at date-time
provider_namespace uint64
{
"rule": {
"id": "string",
"name": "string",
"enabled": true,
"group_name": "string",
"namespace": "string",
"template": "string",
"variables": [
{
"name": "string",
"value": "string",
"type": "string",
"description": "string"
}
],
"created_at": "2024-07-09T13:51:06.076Z",
"updated_at": "2024-07-09T13:51:06.076Z",
"provider_namespace": "string"
}
}
An unexpected error response.
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
message string
details object[]
@type string
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...