---
title: "Atualizar segmento"
method: PUT
path: "/segments/{segment_id}"
---

# Atualizar segmento

`PUT /segments/{segment_id}`

## Path parameters

- `segment_id` integer, required

## Request body

- object
  - `name` string — Nome do segmento.
  - `description` string — Descrição do segmento.

## Response `200`

200

- object
  - `success` boolean
  - `message` string
  - `data` object
    - `id` integer
    - `account_id` integer
    - `name` string
    - `description` string

## Other responses

- `404` — 404
- `422` — 422

---

[API](https://skmtc.net/pipe/apis/application-json.md) · [All operations](https://skmtc.net/pipe/apis/application-json/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pipe/application-json/versions/0a130198f0a3/schema)
