# Remove one of the caller's lines, and what a subscription covers

`DELETE /api/billing/{account}/relationships/{id}/lines/{product}/{ref}` · Praecise account · Billing

- Callers: The server of a product in the account service's client list.

## Parameters

- `account` (path, required), string: The Praecise account id: `sub` in ID tokens.
- `id` (path, required), string: The relationship's id.
- `product` (path, required), string: The writing product's client id.
- `ref` (path, required), string: The product's own reference.

## Responses

- `204`: Gone.
- `401`: No valid client id and secret.
- `403`: Another product's line, or an account that has not signed in to the caller.
- `404`: No such account, relationship, line or invoice.
- `429`: Over the limit for a minute. `Retry-After` says when to try again.
- `503`: Billing is not switched on. Nothing to do; do not retry in a loop.

## Example

```sh
curl -X DELETE 'https://accounts.praecise.com/api/billing/{account}/relationships/{id}/lines/{product}/{ref}' \
  -H 'Authorization: Basic $KEY'
```
