HOWTO Remove a unauthorized agent?

I understand we can authorize and unauthorize agents from the web GUI very easily. Is there a way in the TeamCity GUI to actually remove all reference to a unauthorized agent? I don't want junk agents that no longer physically exist to be filling up the list of unauthorized agents. I poked around in the PostgreSQL database tables for TeamCity and found the agents table and was thinking about just deleting the record for the agent/s in question along with any child data that relates back to them. Before I did that I wanted to see if there's a built in way of doing this. Or a recommend set of delete statements to do it that you folks might already have.

Thanks

Bob

1 comment

Hello,

Inactive (unregistered) agents are deleted automatically after two weeks of
inactivity. If you want manually remove such agents you can simply remove
them from the "agent" table.

--
Pavel Sher
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"



"BobMN" <no_reply@jetbrains.com> wrote in message
news:14963005.1200672551241.JavaMail.itn@is.intellij.net...
>I understand we can authorize and unauthorize agents from the web GUI very
>easily. Is there a way in the TeamCity GUI to actually remove all reference
>to a unauthorized agent? I don't want junk agents that no longer
>physically exist to be filling up the list of unauthorized agents. I poked
>around in the PostgreSQL database tables for TeamCity and found the agents
>table and was thinking about just deleting the record for the agent/s in
>question along with any child data that relates back to them. Before I did
>that I wanted to see if there's a built in way of doing this. Or a
>recommend set of delete statements to do it that you folks might already
>have.
>

Thanks

>

Bob



0

Please sign in to leave a comment.