To delete an API key with attached notification rules, you must delete all of the associated notifications rules first and then the API key.
To delete an API key with attached notification rules, you must delete all of the associated notifications rules first and then the API key.