PUT /api/custom_fields/:id

modify an existing custom field

Success Response Code: 200


Param name Description

name of field

Value: Must be a String

Response Fields

custom_field updated custom field CustomField
custom_field[id] custom field's numeric ID Integer
custom_field[name] name of the custom field (also the text displayed on the user's profile page) String
custom_field[order] the position in which this custom field should be displayed Integer

Example Curl Commands

curl -X PUT -v --basic -u "administrator@socialcast.com:admin_password" https://demo.socialcast.com/api/custom_fields/12.json -H"Content-Type: application/json" -d'{"custom_field":{"name":"Languages that I speak fluently"}}'