---
title: "Remove an iMessage sandbox contact"
method: DELETE
path: "/v1/imessage/sandbox/contacts/{contactId}"
tags: ["iMessage"]
---

# Remove an iMessage sandbox contact

`DELETE /v1/imessage/sandbox/contacts/{contactId}`

## Request

- Base URL: `https://zernio.com/api`
- URL: `https://zernio.com/api/v1/imessage/sandbox/contacts/{contactId}`
- Auth: HTTP bearer

Removes the contact and its sandbox conversation. Messages from that handle to the sandbox line are no longer delivered to you.

## Path parameters

- `contactId` string, 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.
- `404`: Sandbox contact not found

## Changes

- **2026-10-06** `f8c8f34fb41a`: 2 warning
  - added the new `account` enum value to the `details/budgetScope` response property for the response status `400`
  - added the new `account` enum value to the `details/budgetScope` response property for the response status `401`
- **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** `69bbe3da3a18`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zernio/apis/zernio-api/changes/v1/imessage/sandbox/contacts/:contactId/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/4e74db179e73?raw)
