---
title: "Reset the caller back to an agent's own display_name"
method: DELETE
path: "/api/v1/agents/{id}/nickname"
tags: ["Agents"]
---

# Reset the caller back to an agent's own display_name

`DELETE /api/v1/agents/{id}/nickname`

## Request

- Base URL: `https://saltapp.ai`
- URL: `https://saltapp.ai/api/v1/agents/{id}/nickname`
- Auth: API key in header `api-key`

If the caller has no directives on this agent either, the underlying AgentPreference row is removed outright rather than left behind empty.

## Path parameters

- `id` string, required

## Response `200`

OK. nickname is always null in the response.

- object
  - `agent_id` string
  - `nickname` unknown
  - `directives` string[]

## Other responses

- `401`: Missing or invalid credentials.
- `404`: Agent not found.

---

[API](https://skmtc.dev/saltapp/apis/salt-agent-api.md) · [All operations](https://skmtc.dev/saltapp/apis/salt-agent-api/llms.txt) · [OpenAPI document](https://skmtc.dev/saltapp/apis/salt-agent-api/revisions/a8b8642ab7f8?raw)
