- Get started
- Workspace
- Task Manager
- Project
- Board
- BoardColumn
- Task
- Custom Fields
- CRM
- Funnels
- Funnel Statuses
- Deals
- Organizations
- Contacts
- Currencies
- User
- Attachments
Update a custom field option
PUT
https://api.weeek.net/public/v1/tm/projects/{project_id}/custom-fields/{custom_field_id}/options/{id}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
project_id
string
required
custom_field_id
string
required
id
string
required
Body Params application/json
name
string
required
<= 255 characters
color
enum<string>
required
Allowed values:
bluelight_bluedark_purplepurpledark_pinkpinklight_pinkredturquoisegreenlight_greendark_yellowyellow
Example
{
"name": "string",
"color": "blue"
}
Responses
🟢200Success
application/json
Body
success
boolean
required
option
object (CustomFieldOption)
required
id
string <uuid>
read-onlyoptional
name
string
required
<= 255 characters
color
enum<string>
required
Allowed values:
bluelight_bluedark_purplepurpledark_pinkpinklight_pinkreddark_greengreenlight_greendark_yellow
Example
{
"success": true,
"option": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"color": "blue"
}
}
Modified at 2024-02-16 14:18:55