## What happened
The atlassian-python-api Confluence module still calls the v1 REST endpoints (`/wiki/rest/api/`), but Atlassian announced that many v1 content functions will stop working on Confluence Cloud. `confluence.create_page()` now fails with `HTTPError: com.atlassian.confluence.api.service.exceptions.PermissionException: Could not create content with type page`. Is there a way to make the library use the v2 API (`/wiki/rest/api/v2`)?
## The fix that worked
The library historically only used the v1 REST API, which is why `create_page()` started failing on Confluence Cloud with that `PermissionException`. The maintainers implemented v2 API support in the 5.0.0 release, so the fix is to upgrade to 5.0.0 or newer. If you cannot upgrade, the workaround users verified is to bypass the library for page creation: create the page with a raw `requests` POST to `https://your-domain/wiki/api/v2/pages` using HTTPBasicAuth with your email and API token, then use the library's update methods with the returned page ID.