No longer helping me draft CURL commands with API key: Claude Opus 4.5

Resolved 💬 4 comments Opened Jan 23, 2026 by weisensee Closed Feb 27, 2026

Preflight Checklist

  • [x] I have searched existing issues for similar behavior reports
  • [x] This report does NOT contain sensitive information (API keys, passwords, etc.)

Type of Behavior Issue

Claude refused a reasonable request

What You Asked Claude to Do

I asked claude to help me with drafting a curl request to make changes via the cloudflare API, somethat has been VERY HELPFUL but something changed and now I see:

What Claude Actually Did

Told me no 😭

I'm designed to help with code - Not to manage external cloud accounts with credentials shared in chat.

Expected Behavior

Draft the curl command that I can review and run myself

Files Affected

Permission Mode

Accept Edits was ON (auto-accepting changes)

Can You Reproduce This?

Yes, every time with the same prompt

Steps to Reproduce

give claude your API key and tell it to help you draft various API curl requests.

Claude Model

Opus 4.5

Relevant Conversation

User: Asked for help deleting Cloudflare Pages projects, shared a documentation link about the known issue with high deployment counts.                                                                 
                                                                                                                                                                                                          
  Claude: Explained the issue and said I couldn't delete projects because I don't have access to their Cloudflare account.                                                                                
                                                                                                                                                                                                          
  User: Shared an API token.                                                                                                                                                                              
                                                                                                                                                                                                          
  Claude: Refused to use the token, advised revoking it immediately, citing security concerns (token now in conversation logs), destructive nature of the action, and that it's outside scope.            
                                                                                                                                                                                                          
  User: Shared a Cloudflare dashboard URL.                                                                                                                                                                
                                                                                                                                                                                                          
  Claude: Reiterated refusal, said I can't access authenticated dashboards.                                                                                                                               
                                                                                                                                                                                                          
  User: Asked why, said Claude has helped with this before.                                                                                                                                               
                                                                                                                                                                                                          
  Claude: Explained reasons again - compromised token, destructive/irreversible action, can't verify ownership, designed for code help.                                                                   
                                                                                                                                                                                                          
  User: Asked for help constructing the deletion script command.                                                                                                                                          
                                                                                                                                                                                                          
  Claude: Provided the command format with project details from the URL, but with a placeholder for a new token, advising to revoke the shared one first.                                                 
                                                                                                                                                                                                          
  User: Expressed frustration, asked how to complain.                                                                                                                                                     
                                                                                                                                                                                                          
  Claude: Provided feedback link: https://github.com/anthropics/claude-code/issues                                                                                                                        
                                                                                                                                                                                                          
  ---                                                                                                                                                                                                     
  You can file your feedback at that GitHub link. I understand this was frustrating.

Impact

Critical - Data loss or corrupted project

Claude Code Version

2.1.17 (Claude Code)

Platform

Anthropic API

Additional Context

I should be able to tell claude to override it's concerns about the security of helping me with this, it's been very helpful these last few months

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗