I get “success”:false,“errors”:[{“code”:9109,“message”:“Unauthorized to access requested resource”
I want to disable some weak ciphers and I used the command below (zone_id and api_token redacted).
curl -X PATCH "https://api.cloudflare.com/client/v4/zones/<zone_id>/settings/ciphers" -H "Authorization: Bearer <api-token> -H "Content-Type:application/json" --data '{"value": ["ECDHE-ECDSA-AES128-GCM-SHA256","ECDHE-ECDSA-CHACHA20-POLY1305","ECDHE-RSA-AES128-GCM-SHA256","ECDHE-RSA-CHACHA20-POLY1305","ECDHE-RSA-AES128-SHA256","ECDHE-ECDSA-AES256-GCM-SHA384","ECDHE-ECDSA-AES256-SHA384","ECDHE-RSA-AES256-GCM-SHA384","ECDHE-RSA-AES256-SHA384","AEAD-AES128-GCM-SHA256","AEAD-AES256-GCM-SHA384","AEAD-CHACHA20-POLY1305-SHA256"] }'
This is my API-token permission summary
All accounts - Access: Mutual TLS Certificates:Edit
All zones - SSL and Certificates:Edit
I don’t know what else to do to resolve this, please help!!!