delete claim code if principal is autoclaimed by ApiKey