Code:9109 Unauthorized to access requested resource

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 "<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!!!

API says: permission needed: #zone_settings:edit

Thank you @sdayman
I added the zone_settings:edit permission and now I get

“code”:1007,“message”:“Invalid value for zone setting ciphers”

Hi @sdayman,
Can you help with this current error?

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