# Agent versions and deletion

> How the versions created each time you save an agent work, how to go back to an earlier version, and how to delete an agent.

Source: https://voicast.jp/en/docs/dashboard-agent-versions

## How versions work

- Each time you save an agent, a new version is created (v1, v2, …).
- A call uses the latest version at the moment it starts. Saving during a call doesn't change that call.
- A tenant uses the latest version of the agent chosen for it.
- Each call record keeps the agent and version it used ([Call log](https://voicast.jp/en/docs/dashboard-calls.md)).

## View an earlier version

1. Press the agent's name in the **Agents** list.
2. Choose the version under **Version** at the top right. Each version shows when it was saved.

While an earlier version is shown, a notice says "You're viewing an older version" and the settings can't be changed.

## Go back to an earlier version

Requires the developer role or above.

1. Show the version you want to go back to.
2. Press **Edit from this version**.
3. Change settings if needed and press **Save as v…**.

The earlier version's content is saved as a new version. Older versions are not removed.

## Delete an agent

Requires the developer role or above. All versions are deleted and this can't be undone.

1. Press **Remove** at the top right of the agent's page.
2. Press **Remove** in the confirmation dialog.

An agent used by a tenant or a SIP credential can't be deleted. Change the agent on the [tenant](https://voicast.jp/en/docs/dashboard-tenants.md) or the [SIP credential](https://voicast.jp/en/docs/dashboard-sip.md) first. Existing call records are kept.
