Using the BitBucket API, I'm trying to
POST repositories/{user}/{slug}/pipelines_config/ssh/known_hosts/with this json in the body:
{"hostname":"my.hostname.nl"} The API responds with a
HTTP 400 Bad Request
{"error": {"message": "Bad request", "detail": "The request body contains invalid properties", "data": {"key": "variable-service.request.validation-error", "arguments": {}}}}
I also tried to include the fields that I get when I GET known hosts added manually, but the response stays the same.