---
title: "POST /v1/operations/lines.update"
method: POST
path: "/v1/operations/lines.update"
---

# POST /v1/operations/lines.update

`POST /v1/operations/lines.update`

## Request

- Base URL: `https://sagots.com` (the document declares no server; this is the origin it was published from)
- URL: `https://sagots.com/v1/operations/lines.update`
- Auth: HTTP bearer

## Request body

- object
  - `workspaceId` string, uuid, required
  - `id` string, uuid, required
  - `revision` integer, required
  - `name` string
  - `isDefault` true
  - `mode` 'test' | 'live'
  - `inboundAgentId` string, uuid, nullable
  - `testNumbers` string[]
  - `rotatePairing` true
  - `capacity` integer
  - `carrierRate` object, nullable
    - `amountPerMinute` number, required
    - `currency` string, required
    - `increment` 'minute' | 'second', required

## Response `200`

Operation result

## Other responses

- `400`: Structured error

## Changes

- **2026-10-20** `da45e0cbcbde`: 1 info
  - added the new optional request property `carrierRate`

[Operation history](https://skmtc.dev/sagots/apis/sagot-operations/changes/v1/operations/lines.update/post.md)

---

[API](https://skmtc.dev/sagots/apis/sagot-operations.md) · [All operations](https://skmtc.dev/sagots/apis/sagot-operations/llms.txt) · [OpenAPI document](https://skmtc.dev/sagots/apis/sagot-operations/revisions/da45e0cbcbde?raw)
