---
title: "Remove an RCS test phone"
method: DELETE
path: "/v1/rcs/agents/{agentId}/test-devices/{testDeviceId}"
tags: ["RCS"]
---

# Remove an RCS test phone

`DELETE /v1/rcs/agents/{agentId}/test-devices/{testDeviceId}`

## Path parameters

- `agentId` string, required
- `testDeviceId` string, uuid, required

## Response `200`

Removed.

- object
  - `success` boolean

## Other responses

- `400` — Invalid request
- `401` — Missing or invalid API key. `code` is `missing_credentials` when no Authorization header was sent and `invalid_credentials` when the key is unknown, revoked or expired.
- `403` — Your plan does not include the inbox, which RCS requires.
- `404` — Agent or test phone not found

## Changes

- **2026-10-02** `d556591af3f6` — 8 info
  - added the optional property `code` to the response with the `401` status
  - added the optional property `details` to the response with the `401` status
  - added the optional property `docUrl` to the response with the `400` status
  - added the optional property `docUrl` to the response with the `401` status
  - …4 more
- **2026-09-30** `16a7b9d5373e` — 1 info
  - removed the `platform` enum value from the `details/budgetScope` response property for the response status `400`
- **2026-09-29** `698a0d89ab62` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/rcs/agents/:agentId/test-devices/:testDeviceId/delete.md)

---

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