---
title: "host address of the agent."
method: PUT
path: "/mimic/agent/{agentNum}/set/host/{host}"
tags: ["Agent"]
---

# host address of the agent.

`PUT /mimic/agent/{agentNum}/set/host/{host}`

Currently, only IPv4 addresses are allowed as the main address of the agent, but both IPv4 and IPv6 addresses are allowed as IP aliases for the agent.

## Path parameters

- `agentNum` integer, required
- `host` string, required

## Response `200`

successful operation

- string

## Other responses

- `400` — Invalid agent number value

---

[API](https://skmtc.net/gambitcomm/apis/mimic-rest-api.md) · [All operations](https://skmtc.net/gambitcomm/apis/mimic-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gambitcomm/mimic-rest-api/versions/eb67c54e9ec9/schema)
