Update a custom field

patch/fields/{id}

Request

  • Base URL
    https://develop.snipeitapp.com/api/v1
  • URL
    https://develop.snipeitapp.com/api/v1/fields/{id}
  • Auth
    none required

Path parameters

idstring required

Custom field ID

Request body

namestring

Model name

element'text' | 'textarea' | 'checkbox' | 'radio' | 'listbox'

The type of form field you want to display

Response

200

statusstring
messagesstring

Example response

{
  "status": "error",
  "messages": "Fieldset not found"
}

Changes