Create action for a group
POST/:customer_id/admin/groups/:group_id/sentinel-actions
Create an action for all users in a group from an action template.
Request
Path Parameters
customer_id Customer Idrequired
Id of the tenant
group_id Group Idrequired
Id of the group
- application/json
Body
required
action_template_id uuidrequired
notification_emails string[]nullable
Emails to notify for alerts
notification_webhooks string[]nullable
Webhooks to notify for alerts
description Descriptionnullable
Description of the action
enabled Enablednullable
Default value: true
Whether the action is enabled
Responses
- 200
- 400
- application/json
- Schema
- Example (from schema)
Schema
action_id uuidrequired
{
"action_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Validation error
- application/json
- Schema
- Example (from schema)
Schema
message Messagerequired
errors undefined[]nullablerequired
{
"message": "string",
"errors": [
null
]
}
Loading...