Can't use ApiKey to update rule

I'm trying to update alerting rules in kibana, if I create an apikey, I can see the rules, and I can authenticate, but when trying to update an alerting rule, it gives me this error:

{"statusCode":400,"error":"Bad Request","message":"Error updating rule: could not create API key - Unsupported scheme \"ApiKey\" for granting API Key"

This is my call:

curl -X PUT https://kibana:5601/api/alerting/rule/$INT_RULE_ID -H "Authorization: ApiKey $INT_APIKEY" -H 'content-type: application/json' -H 'kbn-xsrf: true' -d"$INT_CONTENT_FILE" -k

Thanks
A

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.