# restDialingPoolNumber

Bench one rotation line for the standard rest window: it returns on its own at restUntil (say the date). Admins only.

- Call: `POST https://server.goliathdata.com/api/v1/call` with `{ "operationId": "restDialingPoolNumber", "variables": {...} }`
- Scope: `WRITE`
- Type: mutation
- Idempotency: honors `Idempotency-Key` (24 h)
- Rate-limited: no

## Variables

- `phoneLineId`: `ID!` (required)

## Response (data, an example)

```json
{
  "dialingPoolMutation": {
    "restNumber": {
      "id": "<ID>",
      "dialing": {
        "restUntil": "2026-01-01T00:00:00.000Z"
      }
    }
  }
}
```

## Example

```bash
curl https://server.goliathdata.com/api/v1/call \
  -H "Authorization: Bearer $GOLIATH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "operationId": "restDialingPoolNumber",
    "variables": {
      "phoneLineId": "<phoneLineId>"
    }
  }'
```
