Child pages
  • Edit Additional Field
Skip to end of metadata
Go to start of metadata
PUT /user_additional_fields.xml
PUT /user_additional_fields.json

XML Request example

curl -i -X PUT -d '<user_additional_field><name>TestField</name><data_type>string</data_type><default_value>CHANGEDvalue</default_value></user_additional_field>' -u user:userpass http://onapp_test/user_additional_fields/<field_id>.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request example

curl -i -X PUT -d '{"user_additional_field":{"name":"TestField","data_type":"string","default_value":"TestName"}}' -u user:userpass http://onapp_test/user_additional_fields/:field_id.json -H 'Accept: application/json' -H 'Content-type: application/json'

You can edit the following parameters: name, data type and default value.

  • No labels