/attributes/{attr_id}
PUT
/attributes/{attr_id}Request
Path Params
attr_id
string
required
Body Params application/json
color
optional
Any of
Default:
null
icon
string | null
optional
Default:
null
name
string | null
optional
Default:
null
values
optional
Any of
Default:
null
toAdd
array[string]
optional
toRemove
array[string]
optional
toUpdate
object
optional
Default:
{}
Example
{
"color": "string",
"icon": null,
"name": null,
"values": {
"toAdd": [],
"toRemove": [],
"toUpdate": {}
}
}
Request samples
Responses
OK(200)
Bad Request(400)
413(413)
415(415)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
allowedValues
array[string]
required
color
string
required
created_at
string <date-time>
required
icon
string
required
id
string <uuid>
required
kind
enum<string>
required
Allowed values:
datefileflagnumberstringuser
name
string
required
teamId
string <uuid>
required
updated_at
string <date-time>
required
Example
{
"allowedValues": [
"string"
],
"color": "string",
"created_at": "2019-08-24T14:15:22.123Z",
"icon": "string",
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"kind": "date",
"name": "string",
"teamId": "a4ede8ba-7c0a-4485-8763-cbd9b282fbec",
"updated_at": "2019-08-24T14:15:22.123Z"
}
Last modified: 11 days ago