Project Field Options Associations

Add project field option

Add a project field option to a project field.

post/v0/projects/{project_id}/project_field_options

Request

  • Base URL
    https://api.gem.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.gem.com/v0/projects/{project_id}/project_field_options
  • Auth
    none declared

Request body

project_field_idstring ObjectID required
operation'add' | 'remove' required

Specifies the operation on project field options: add or remove. For remove operations on single_select or text fields, options is not required. For multi_select, specify option values to remove.

optionsstring[]

List of option id values. Required for add operations on single_select and multi_select fields. For remove on multi_select, include values to be removed.

textstring

The text of the project field. Required for add operations on text fields.

Response

Default error response

codeinteger

Error code

statusstring

Error name

messagestring

Error message

errorsobject

Errors

Changes

No recorded changes to this operation across all 1 revision of this API.