Nodes booted out of MAAS entirely, when user deletes API key


I have noticed that when the API Key used to deploy a node is deleted, those nodes are deleted out of MAAS entirely.

Is this behavior expected/intentional? Or is a bug?

I would expect that a deployed nodes return to ‘ready’ status at worst, and was surprised to see that they were booted out entirely.