Skip to content

cfl space create returns 404 on Confluence Cloud — request full space CRUD support #362

@rianjs

Description

@rianjs

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions