---
title: "Unassign a phone number from Voice Agents."
method: POST
path: "/v1/voice-agents/unassign"
---

# Unassign a phone number from Voice Agents.

`POST /v1/voice-agents/unassign`

## Request body

- UnassignPhoneNumberRequest
  - `phoneNumber` string — Phone number to assign to voice agent, should start with + and the country code.

## Response `200`

Successful response

- UnassignPhoneNumberResponse
  - `success` boolean
  - `message` string
  - `data` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Server Side Error

---

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