---
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

## Request body

- 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

## Response `201`

AgentLocationUpdateSuccessResponse

- AgentLocationUpdateSuccessResponse
  - `data` string
  - `message` string

## Other responses

- `400` — FailureResponse

---

[API](https://skmtc.net/sipcapture/apis/homer-app.md) · [All operations](https://skmtc.net/sipcapture/apis/homer-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sipcapture/homer-app/versions/2f261ecc6074/schema)
