POST
/
api
/
v1
/
custom_fields
{
  "@context": "<string>",
  "@id": "<string>",
  "@type": "<string>",
  "id": 123,
  "tenant": "https://example.com/",
  "name": "<string>",
  "fieldType": "<string>",
  "fieldOptions": [
    "<string>"
  ],
  "position": 123,
  "form": {
    "@context": "<string>",
    "@id": "<string>",
    "@type": "<string>",
    "id": 123
  },
  "conditionedField": {},
  "conditionedValue": "<string>",
  "isOnlyAdmin": true
}

Body

The new CustomField resource

tenant
string<iri-reference>
Example:

"https://example.com/"

name
string
fieldType
string
fieldOptions
string[] | null
position
integer | null
form
string<iri-reference> | null
Example:

"https://example.com/"

conditionedField
object | null
conditionedValue
string | null
isOnlyAdmin
boolean | null

Response

CustomField resource created

@context
@id
string
@type
string
id
integer
tenant
string<iri-reference>
Example:

"https://example.com/"

name
string
fieldType
string
fieldOptions
string[] | null
position
integer | null
form
object | null
conditionedField
object | null
conditionedValue
string | null
isOnlyAdmin
boolean | null