Body
-
actionTypeId
string Required The connector type identifier.
-
config
object Default value is
{}
(empty). Additional properties are allowed. -
name
string Required The display name for the connector.
-
secrets
object Default value is
{}
(empty). Additional properties are allowed.
POST
/api/actions/action
curl \
--request POST 'https://localhost:5601/api/actions/action' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"actionTypeId":"string","config":{},"name":"string","secrets":{}}'
Request examples
# Headers
kbn-xsrf: true
# Payload
{
"actionTypeId": "string",
"config": {},
"name": "string",
"secrets": {}
}
Response examples (200)
{
"config": {},
"connector_type_id": "string",
"id": "string",
"is_deprecated": true,
"is_missing_secrets": true,
"is_preconfigured": true,
"is_system_action": true,
"name": "string"
}