Remove a catalog
DELETE/api/catalog/:local_name
Deletes a catalog's files and its registry entry.
Works for both kinds, because both mean the same thing locally: the files go and the grid forgets about them. For an owned catalog the remote repository is deliberately left alone - deleting a published repository is not something a Remove button should do on the operator's behalf, and the catalog can be recovered by subscribing to it.
Nodes already built from its templates are unaffected: create_node copies a template's files into the node, and the runtime materialises a node from its own committed subtree, so nothing running ever reads templates/. Libraries installed into a project are likewise already copied there.
Request
Responses
- 200
- 404
- 422
Successful Response
Catalog not found
Validation Error