Spaces method and path for this operation:
Refer to Spaces for more information.
curl \
--request PUT 'https://localhost:5601/api/actions/action/{id}' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--header "kbn-xsrf: true" \
--data '{"config":{},"name":"string","secrets":{}}'