Create Custom Field
1 min
POST
https://api.nue.io/metadata/objects/{objectApiName}/fields:{type}
objectApiNamestringThe API name of the object to create a field for
typestring<p>The type of field to create. Currently, only 'text' is supported.</p>
acceptstringGenerated from available response content types
bodyobjectThe request to create a field.
200OK
curl --request POST \
--url https://api.nue.io/metadata/objects/{objectApiName}/fields:{type} \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"apiName": "testCustomField",
"name": "Test Custom Field"
}'