---
title: "PUT /taskstatuses/{taskStatusId}"
method: PUT
path: "/taskstatuses/{taskStatusId}"
tags: ["slash-task-status"]
---

# PUT /taskstatuses/{taskStatusId}

`PUT /taskstatuses/{taskStatusId}`

## Path parameters

- `taskStatusId` integer, required

## Request body

- TaskStatusDto
  - `tenantId` integer
  - `taskStatusId` integer
  - `statusName` string
  - `color` string
  - `statusCategory` string
  - `projectId` integer
  - `spaceId` integer
  - `createdBy` UserMinimalDto
    - `userId` integer
    - `firstName` string
    - `email` string
    - `profilePicURL` string
    - `profilePicColor` string
    - `provider` string
    - `role` OrgRoleDto
      - `orgRoleId` integer
      - `roleName` string
  - `modifiedBy` UserMinimalDto
    - `userId` integer
    - `firstName` string
    - `email` string
    - `profilePicURL` string
    - `profilePicColor` string
    - `provider` string
    - `role` OrgRoleDto
      - `orgRoleId` integer
      - `roleName` string
  - `default` boolean
  - `primary` boolean

## Response `200`

OK

- ResponseFormat
  - `success` boolean
  - `message` string
  - `data` unknown
  - `errorCode` integer
  - `errors` unknown

---

[API](https://skmtc.net/astravue/apis/astravue-api.md) · [All operations](https://skmtc.net/astravue/apis/astravue-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/astravue/astravue-api/versions/237f5bbd4029/schema)
