find agent id

I will manually spin up a TC agent, then have the server curl to authorize itself.

curl -u username:password --request PUT --data true --header "Content-Type: text/plain" https://server/httpAuth/app/rest/agents/id:5145/authorized

How do I obtain the id?  I see it in the log files, but is there an easier way to obtain the id rather than grepping log files?

1 comment
Comment actions Permalink

You can get the list of unauthorized agent using the following request:


See the related section in documentation:


Please sign in to leave a comment.