Create a new custom field for an environment
POST
/
environments
/
{environmentId}
/
custom
/
fields
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
environmentId
string
requiredID of the environment
Body
application/json
name
string
requiredenabled
boolean
requiredrequired
boolean
requiredfieldType
enum<string>
requiredAvailable options:
text
, checkbox
, select
validationRules
object
Optional validation rules for the custom field
position
number
requiredResponse
201 - application/json
id
string
requiredkey
string
requiredname
string
requiredenabled
boolean
requiredA flag indicating whether the custom field is active.
required
boolean
requiredA flag indicating whether the custom field is required.
fieldType
enum<string>
requiredAvailable options:
text
, checkbox
, select
validationRules
object
Optional validation rules for the custom field
position
number
requiredWas this page helpful?