Update a connector Deprecated
Deprecated in 7.13.0. Use the update connector API instead.
Path parameters
-
An identifier for the action.
Body Required
The properties vary depending on the connector type.
PUT /api/actions/action/{actionId}
curl \
-X PUT https://localhost:5601/api/actions/action/c55b6eb0-6bad-11eb-9f3b-611eebc6c3ad \
-H "Content-Type: application/json; Elastic-Api-Version=2023-10-31" \
-H "kbn-xsrf: string"
Request examples
# Headers
kbn-xsrf: string
# Payload
{
"config": {},
"name": "string",
"secrets": {}
}
Response examples (200)
{
"actionTypeId": "string",
"config": {},
"id": "string",
"isDeprecated": true,
"isMissingSecrets": true,
"isPreconfigured": true,
"name": "string"
}
Response examples (404)
{
"error": "Not Found",
"message": "Saved object [action/baf33fc0-920c-11ed-b36a-874bd1548a00] not found",
"statusCode": 404
}