---
title: "Изменить"
method: PUT
path: "/api-v2/string-stickers/{stickerId}/states/{stickerStateId}"
tags: ["Состояния стикера с набором состояний"]
---

# Изменить

`PUT /api-v2/string-stickers/{stickerId}/states/{stickerStateId}`

## Request

- Base URL: `https://api-docs.yougile.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.yougile.com/api-v2/string-stickers/{stickerId}/states/{stickerStateId}`
- Auth: HTTP bearer

## Path parameters

- `stickerId` string, required
- `stickerStateId` string, required

## Request body

- UpdateStringStickerStateDto
  - `deleted` boolean: Если true, значит объект удален
  - `name` string: Имя состояния стикера
  - `color` string: Цвет состояния стикера

## Response `200`

Состояние стикера успешно изменено.

- WithStickerStateIdDto
  - `id` string, required: ID состояния стикера

## Other responses

- `404`

---

[API](https://skmtc.dev/yougile/apis/yougile-rest-api-v2-0.md) - [All operations](https://skmtc.dev/yougile/apis/yougile-rest-api-v2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/yougile/apis/yougile-rest-api-v2-0/revisions/9452cba35716?raw)
