Currently, NodeTypes that have associated TemplateAttributes or Nodes cannot be deleted. When a user attempts it via the API, the current response is a 500 response code and error page.
For API users, a 403 (Forbidden) should be the generated response code.
Additionally, the delete method might formalize this check in a method of its own.
Currently, NodeTypes that have associated TemplateAttributes or Nodes cannot be deleted. When a user attempts it via the API, the current response is a 500 response code and error page.
For API users, a 403 (Forbidden) should be the generated response code.
Additionally, the delete method might formalize this check in a method of its own.