Champs
Ajouter ou supprimer des champs sur un objet personnalisé.
POST
/v1/objects/
{apiName}/fieldsAuthorization
Authorization<token>
Envoyez ApiKey bk_live_... (préfixe littéral ApiKey obligatoire).
In: header
Request Body
application/jsonRequirednamestring
Example: "Téléphone"Maximum length: 120systemNamestring
Example: "phone"Maximum length: 120descriptionstring
Maximum length: 500typestring
FILE / IMAGE / OUTLINE / RELATION non supportés à la création via l'API publique.
Value in:"STRING" | "TEXTAREA" | "NUMBER" | "DECIMAL" | "BOOLEAN" | "DATE" | "TIME" | "SELECT" | "USER"isRequiredboolean
isUniqueboolean
isMultipleboolean
isEditableboolean
defaultValuestring
validationRegexstring
Pattern nu (sans /). Ex. ^\+?[0-9]{6,15}$.
maxLengthinteger
minLengthinteger
minValuenumber
maxValuenumber
optionsarray<object>
Obligatoire pour les champs SELECT.
Path Parameters
apiNamestring
Nom système de l'objet (ex. contact).
Champ créé.
DELETE
/v1/objects/
{apiName}/fields/{fieldId}Authorization
Authorization<token>
Envoyez ApiKey bk_live_... (préfixe littéral ApiKey obligatoire).
In: header
Path Parameters
apiNamestring
Nom système de l'objet (ex. contact).
fieldIdstring
Format: "uuid"Supprimé, pas de contenu.