Add Category

Adds new Category to the project.

Role

Administrator
Normal User

Method

POST

URL

/api/v2/projects/:projectIdOrKey/categories

URL Parameters

Parameter Name Type Description
projectIdOrKey String Project ID or Project Key

Form Parameters

Request Header

Content-Type:application/x-www-form-urlencoded
Parameter Name Type Description
name (Required) String Category name

Response Example

Status Line / Response Header

HTTP/1.1 200 OK
Content-Type:application/json;charset=utf-8

Response Body

{
    "id": 1,
    "name": "Development",
    "displayOrder": 0
}