addCategory

Description

Add a category in an organization.
The current user must have administrator rights.

URL

https://api.skriv.com/v1/organization/addCategory/orgId

FieldTypeDescription
orgIdintOrganization ID

GET parameters

FieldTypeDescription
namestringCategory name
colorenumCategory color: 'red', 'pink', 'purple', 'blue', 'green', 'amber', 'deeporange', 'gray', 'black'
hiddenProjectsboolIf projects in a category are hidden, only users assigned to the projects will be able to see them.

Response

FieldTypeDescription
idintCategory ID