Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages

updateField method

It is a method to change user field parameters.

Principle of use

Syntax and URL to call the method
updateFiled (int id, string name) &name=NAME
api_key * API access key.
id * ID of the field being changed.
name * Field name. It must be unique and case insensitive. Also, it is not recommended to create a field with the same name as the standard field names (tags, email, phone, email_status, phone_status, etc.) as the importContacts method will work incorrectly.
public_name Field name. Name of the «variable for substitution». field in the personal account. If it is not used, an automatically generation by the «name» field will take place.Admissible characters: Latin letters, numbers, «_» and «-». The first character must be a letter. No spaces are allowed.
Return value
Object with an id field containing the code of the field changed.Example of the return value: