PUT Custom Fields

Changed on

/customfields/:id Permission level: 3

put/customfields/{id}

Request

  • Base URL
    https://www.humanity.com/api/v2
  • Auth
    API key in query parameter access_token

Path parameters

idinteger required

Request body application/x-www-form-urlencoded

namestring required
typestring required

enum[short, long, option, checkbox] "short" : Short Text - max 200 chars, "long": Long Text, "option": Option list (Select box), "checkbox": Checkbox

accessinteger

enum[1,2,3] 1 : Employee and Management, 2 : Employee Only, 3 : Management Only

valuesstring

Values for option list separated by comma

Response

200

statusinteger
tokenstring
errorunknown

Example response

{
  "status": 1,
  "data": {
    "id": 2081,
    "name": "ShirtSize",
    "type": "option",
    "access": 2,
    "values": "S,M,L,XL"
  },
  "token": "xxxxxxx"
}

Changes