Header

List Network Agents via API

This method will return a list of all network agents in your DeployHQ account.

URL

/agents

HTTP Method

GET

Supported Parameters

None

Example cURL Request

curl -H "Content-type: application/json" \
-H "Accept: application/json" \
--user adam@atechmedia.com:my-api-key \
https://atech.deployhq.com/agents

Example Response

{
  [
    { 
      "id":12345,
      "created_at":"2018-05-31T10:56:34.000+01:00", 
      "identifier":"9e11def8-8c43-454e-8c99-3c5b9cf08396", 
      "name":"Test Agent #1", 
      "online":false, 
      "revoked_at":null, 
      "updated_at":"2018-05-31T10:57:02.000+01:00"
    }
  ]
}
Tree

Proudly powered by Katapult. Running on 100% renewable energy.