---
title: "PUT /agent/subscribe/{guid}"
method: PUT
path: "/agent/subscribe/{guid}"
tags: ["agent"]
---

# PUT /agent/subscribe/{guid}

`PUT /agent/subscribe/{guid}`

Update agent by guid

## Path parameters

- `guid` string, required — guid of agent

## Response `201`

AgentsLocation

- AgentsLocation
  - `active` integer
  - `create_date` string, date-time
  - `expire_date` string, date-time
  - `gid` integer
  - `host` string
  - `node` string
  - `path` string
  - `port` integer
  - `protocol` string
  - `ttl` integer
  - `type` string
  - `uuid` string

## Other responses

- `400` — FailureResponse

## Changes

- **2021-10-13** `ee397eaefd08` — 1 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`
- **2021-10-09** `a5730259529b` — 1 info
  - the security scope `[]` was added to the endpoint's security scheme `bearer`
- **2021-10-08** `d39f8246865f` — 7 info
  - the endpoint scheme security `SecurityDefinitions` was added to the API
  - the endpoint scheme security `in` was added to the API
  - the endpoint scheme security `name` was added to the API
  - the endpoint scheme security `type` was added to the API
  - …3 more
- **2020-04-01** `8739183b4c43` — 1 info
  - endpoint added
- **2020-01-12** `52987c8da72a` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/sipcapture/apis/homer-app/changes/agent/subscribe/:guid/put.md)

---

[API](https://skmtc.dev/sipcapture/apis/homer-app.md) · [All operations](https://skmtc.dev/sipcapture/apis/homer-app/llms.txt) · [OpenAPI document](https://skmtc.dev/sipcapture/apis/homer-app/revisions/ee397eaefd08?raw)
