asn_custom_fields_update: A specific, existing custom field can be updated by making a...

View source: R/custom_fields.R

asn_custom_fields_updateR Documentation

A specific, existing custom field can be updated by making a PUT request on the URL for that custom field. Only the fields provided in the 'data' block will be updated; any unspecified fields will remain unchanged

Description

When using this method, it is best to specify only those fields you wish to change, or else you may overwrite changes made by another user since you last retrieved the custom field.

Usage

asn_custom_fields_update(custom_field, ..., options = list())

Arguments

custom_field

Id Globally unique identifier for the custom field.#'

...

Object Data for the request

Details

A custom field's 'type' cannot be updated.

An enum custom field's 'enum_options' cannot be updated with this endpoint. Instead see "Work With Enum Options" for information on how to update 'enum_options'.

Returns the complete updated custom field record.

See Also

Other custom_fields: asn_custom_fields_add_enum_option, asn_custom_fields_create, asn_custom_fields_delete, asn_custom_fields_find_by_id, asn_custom_fields_find_by_workspace, asn_custom_fields_reorder_enum_option, asn_custom_fields_update_enum_option, asn_custom_fields


datacamp/asana documentation built on Sept. 18, 2023, 8:51 a.m.