Skip to main content

Space deletion documentation fix request: space is not deletable if it contains instances

  • February 9, 2026
  • 3 replies
  • 21 views

The documentation on this page should be updated to reflect the product behavior.

https://api-docs.cognite.com/20230101/tag/Spaces/operation/deleteSpacesV3

> If an existing data model references a space, you cannot delete that space. Nodes, edges and other data types that are part of a space will no longer be available.

 

I tried deleting a space with a single node and I get this error:

cognite.client.exceptions.CogniteAPIError: Unable to delete spaces because they contain nodes or edges: [some-test-space] | code: 400

 

This does not exactly contradict the documentation, but it means that the documentation is misleading. As it is written, it suggests a space can be used to manage lifecycle of ephemeral test data.

3 replies

Arild  Eide
Seasoned Practitioner
Forum|alt.badge.img
  • Seasoned Practitioner
  • February 10, 2026

Hi ​@Jan Dolejsi 

Agreed. The current text suggests that deleting a space will also delete artifacts within the space.

Will have this updated.

 

Thanks

 

Arild Eide


Arild  Eide
Seasoned Practitioner
Forum|alt.badge.img
  • Seasoned Practitioner
  • February 11, 2026

@Jan Dolejsi revised text is up now.

 

Arild


  • Author
  • Seasoned
  • February 11, 2026

Confirmed. That was quick. Thanks. 

One question if I may. 20230101 always makes me thing I am looking at some obsolete content that might be 3 years out of date. Ok, now I realize that was not a question.