In the scenario when a user who created the accessKey has left the company and hence, became inactive. Now, the calls to the permissions ecosystem are failing as a result of this.
In order to have the behavior consistency in all API key mechanisms it would be possible not allowing deactivate the User, if the user has generated an access key.
Ex: When batch updating the status of Success Plan via the API, we are noticing "Query building error."