Permission Denied (403) When Changing a Workspace Member's Role
Error:
Your API key does not have permission to use the specified resource. Check your organization's access and workspace settings in the Claude Console.
What it means: The signed-in account or API key is not a Workspace Admin or Organization Admin on the target workspace, so it cannot change member roles.
Solution: Have a Workspace Admin or Organization Admin make the change, or connect an Admin API key scoped to that workspace, then retry.