Summary
cfl space create returns 404 NOT_FOUND against Confluence Cloud, making it unusable. The same applies to space update and space delete (untested, but likely hitting the same issue if the v2 API endpoint is wrong or unsupported).
Steps to reproduce
cfl space create --key TOOL --name "Internal Tools"
# Error: creating space: creating space: resource not found: 404 NOT_FOUND
Workaround
The Confluence v1 REST API works fine:
curl -u "user@example.com:$API_TOKEN" \
-X POST \
-H "Content-Type: application/json" \
-d '{"key":"TOOL","name":"Internal Tools","type":"global"}' \
"https://your-instance.atlassian.net/wiki/rest/api/space"
Expected behavior
cfl space create, cfl space update, and cfl space delete should work without falling back to raw REST API calls. Full CRUD parity with cfl page operations.
Environment
- cfl version: 1.0.42
- Confluence Cloud (monitproduct.atlassian.net)
Summary
cfl space createreturns404 NOT_FOUNDagainst Confluence Cloud, making it unusable. The same applies tospace updateandspace delete(untested, but likely hitting the same issue if the v2 API endpoint is wrong or unsupported).Steps to reproduce
Workaround
The Confluence v1 REST API works fine:
Expected behavior
cfl space create,cfl space update, andcfl space deleteshould work without falling back to raw REST API calls. Full CRUD parity withcfl pageoperations.Environment