Run a connector Deprecated

POST /api/actions/action/{actionId}/_execute

Deprecated in 7.13.0. Use the run connector API instead.

Headers

  • kbn-xsrf string Required

    Cross-site request forgery protection

Path parameters

  • actionId string Required

    An identifier for the action.

application/json; Elastic-Api-Version=2023-10-31

Body Required

The properties vary depending on the connector type.

  • params object Required

    The parameters of the connector. Parameter properties vary depending on the connector type.

Responses

POST /api/actions/action/{actionId}/_execute
curl \
 -X POST https://localhost:5601/api/actions/action/c55b6eb0-6bad-11eb-9f3b-611eebc6c3ad/_execute \
 -H "Content-Type: application/json; Elastic-Api-Version=2023-10-31" \
 -H "kbn-xsrf: string"
Request examples
# Headers
kbn-xsrf: string

# Payload
{
  "params": {}
}
Response examples (200)
{
  "actionId": "string",
  "data": {},
  "status": "string"
}
Response examples (401)
{
  "error": "Unauthorized",
  "message": "string",
  "statusCode": 401
}