Update custom field on workspace
Changed onRequest
- Base URL: https://api.clockify.me/api
- URL: https://api.clockify.me/api/v1/workspaces/{workspaceId}/custom-fields/{customFieldId}
- Auth: one of:
- API key in header x-api-key
- API key in header x-addon-token
Path parameters
Represents a workspace identifier across the system.
Represents a custom field identifier across the system.
Request body
Example request
{
"allowedValues": [
"New York",
"London",
"Manila",
"Sydney",
"Belgrade"
],
"description": "This field contains a location.",
"name": "location",
"placeholder": "This is a sample placeholder.",
"status": "VISIBLE",
"type": "DROPDOWN_MULTIPLE"
}Response
OK
Example response
{
"allowedValues": [
"New York",
"London",
"Manila",
"Sydney",
"Belgrade"
],
"description": "This field contains a location.",
"entityType": "USER",
"id": "44a687e29ae1f428e7ebe305",
"name": "location",
"placeholder": "Location",
"projectDefaultValues": [
{
"projectId": "5b641568b07987035750505e",
"status": "VISIBLE"
}
],
"status": "VISIBLE",
"type": "DROPDOWN_MULTIPLE",
"workspaceId": "64a687e29ae1f428e7ebe303"
}Changes
- breaking
request property
was restricted to a list of enum values - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
the
request property default valuewas added - info
added the new
CHECKBOXenum value to the request property - info
added the new
DROPDOWN_MULTIPLEenum value to the request property - info
added the new
DROPDOWN_SINGLEenum value to the request property - info
added the new
LINKenum value to the request property - info
added the new
NUMBERenum value to the request property - info
added the new
TXTenum value to the request property - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status - info
the
response's property default valuewas added for the status
- breaking