---
title: "Restore a customer's number"
method: DELETE
path: "/v1/user-plans/{userId}/suspension"
tags: ["User Plans"]
---

# Restore a customer's number

`DELETE /v1/user-plans/{userId}/suspension`

## Request

- Base URL: `https://api.telgea.com`
- URL: `https://api.telgea.com/v1/user-plans/{userId}/suspension`
- Auth: API key in header `x-api-key`

Undoes a suspension made with `POST /v1/user-plans/{userId}/suspension`, and returns once the line is live again at the network.

Restoring a number that is not suspended returns `409`.

## Path parameters

- `userId` string, uuid, required: UUID of the user whose plan this is.

## Query parameters

- `numberId` string, uuid, required: UUID of the number to restore.

## Headers

- `idempotency-key` string: A value unique to this request, of 1 to 255 printable ASCII characters — a UUID is the usual choice. Retry with the same key within 24 hours and you get the original response back, even if it was a failure, and nothing is done twice. Send a new key whenever you change the request. Keys are private to your API key and organisation.

## Response `200`

Number restored. Lists the number the restore reached.

- SuspensionResponse
  - `numbers` string[], required: The phone numbers the request actually reached at the network.

## Other responses

- `400`: Request failed schema validation, or was refused by a business rule
- `401`: Missing or invalid API key in the X-API-Key header
- `403`: Insufficient permissions for this action
- `404`: User plan or number not found
- `409`: Already in the state you asked for, so nothing was changed.
- `429`: The API key has used its request quota for the current window. `Retry-After` says how many seconds until it resets.
- `500`: Internal server error. Contact support if this persists.

---

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