Lines
A line is one customer subscription on the panel. Every write endpoint in this group requires the lines:write scope and an Idempotency-Key header. Read endpoints require lines:read. Reseller keys only see the lines they own; admin keys see every line on the panel.
Endpoints
| Endpoint | Method and path | What it does |
|---|---|---|
| List lines | GET /lines |
Paginated list. Filters by owner, package and expiry. |
| Create a line | POST /lines |
Creates a subscription against a package. Returns the credentials the customer will use to log in. |
| Get a line | GET /lines/{id} |
Full record for a single line. |
| Update a line | POST /lines/{id}/update |
Applies a partial update. Only the fields you send are touched. |
| Enable a line | POST /lines/{id}/enable |
Marks the line as active and allows logins. |
| Disable a line | POST /lines/{id}/disable |
Marks the line as inactive without deleting it. |
| Renew a line | POST /lines/{id}/renew |
Extends the expiry date by a number of months and charges the caller's billing budget. |
| Reset password | POST /lines/{id}/reset-password |
Generates a fresh password for the line. |
| Delete a line | POST /lines/{id}/delete |
Removes the line and its associations. |
| List current connections | GET /lines/{id}/connections |
Snapshot of the sessions currently open against this line. |