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
Required string length:
36
Body
application/json
name
string
requiredMaximum length:
255
enabled
boolean
requiredrequired
boolean
requiredfieldType
enum<string>
requiredAvailable options:
text
, checkbox
, select
position
number
requiredvalidationRules
object
Optional validation rules for the custom field
Response
201 - application/json
id
string
requiredRequired string length:
36
key
string
requiredMaximum length:
255
name
string
requiredMaximum length:
255
enabled
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
position
number
requiredvalidationRules
object
Optional validation rules for the custom field
Was this page helpful?