---
title: "/statuslabels/:id"
method: PUT
path: "/statuslabels/{id}"
---

# /statuslabels/:id

`PUT /statuslabels/{id}`

## Request

- Base URL: `https://develop.snipeitapp.com/api/v1`
- URL: `https://develop.snipeitapp.com/api/v1/statuslabels/{id}`
- Auth: none required

Updates a status label

## Path parameters

- `id` integer, required

## Request body

- object
  - `name` string, required
  - `type` 'deployable' | 'pending' | 'archived' | 'undeployable', required
  - `notes` string
  - `color` string: Hex code showing what color the status label should be on the pie chart in the dashboard
  - `show_in_nav` boolean: 1 or 0 - determine whether the status label should show in the left-side nav of the web GUI
  - `default_label` boolean: 1 or 0 - determine whether it should be bubbled up to the top of the list of available statuses

## Response `200`

200

- object
  - `status` string
  - `messages` string
  - `payload` object
    - `name` string
    - `deployable` integer
    - `pending` integer
    - `archived` integer
    - `updated_at` string
    - `created_at` string
    - `id` integer

## Other responses

- `400`: 400

## Changes

- **2026-11-03** `938bea5e8375`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api/changes/statuslabels/:id/put.md)

---

[API](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api.md) - [All operations](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/snipeitapp/apis/snipe-it-rest-api/revisions/938bea5e8375?raw)
