Docs

Update Task Attribute

PUT /taskAttributes/{attributeId}

PUT/taskAttributes/{attributeId}

Updates a task attribute's name, type, required flag and position, renumbering the other attributes when it moves. Options are matched by id: those with an id are updated, those without are created, and existing options left out are deleted; needs an event token and the event project management admin permission.

Path Parameters

FieldTypeRequiredDescription
attributeIduuidRequired

Request Body

FieldTypeRequiredDescription
namestringOptional
typestringOptional
isRequiredbooleanOptional
indexintegerOptional
optionsUpdateTaskAttributeRequestOption[]Optional

UpdateTaskAttributeRequestOption

FieldTypeDescription
iduuid| null
valuestring| null
colorstring| null
iconstring| null