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

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 
}