Update not working

When I run curl with -v, here’s the critical last part of the output:

  • Established connection to desec.io (2a01:4f8:10a:1044:deec:642:ac10:80 port 443) from 2001:1686:44d:8000:dd6e:107d:d36e:9893 port 36644
  • using HTTP/2
  • [HTTP/2] [1] OPENED stream for https://desec.io/api/v1/domains/azadian.ch/rrsets/
  • [HTTP/2] [1] [:method: POST]
  • [HTTP/2] [1] [:scheme: https]
  • [HTTP/2] [1] [:authority: desec.io]
  • [HTTP/2] [1] [:path: /api/v1/domains/azadian.ch/rrsets/]
  • [HTTP/2] [1] [user-agent: curl/8.19.0]
  • [HTTP/2] [1] [accept-encoding: deflate, gzip, br, zstd]
  • [HTTP/2] [1] [content-type: application/json]
  • [HTTP/2] [1] [accept: application/json]
  • [HTTP/2] [1] [authorization: Token xxxxxxxxxxxxxxxxxxxxxxxxxxxxx]
  • [HTTP/2] [1] [content-type: application/json]
  • [HTTP/2] [1] [content-length: 406]

POST /api/v1/domains/azadian.ch/rrsets/ HTTP/2
Host: desec.io
User-Agent: curl/8.19.0
Accept-Encoding: deflate, gzip, br, zstd
Content-Type: application/json
Accept: application/json
Authorization: Token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Content-Type: application/json
Content-Length: 406

  • upload completely sent off: 406 bytes
  • TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
  • TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
    < HTTP/2 415
    < server: nginx
    < date: Sun, 03 May 2026 11:41:16 GMT
    < content-type: application/json
    < content-length: 86
    < allow: GET, POST, PUT, PATCH, HEAD, OPTIONS
    < vary: origin
    < strict-transport-security: max-age=31536000; includeSubDomains; preload
    <
  • Connection #1 to host desec.io:443 left intact
    {“detail”:“Unsupported media type “application/json, application/json” in request.”}