Set an organisation custom field
set_organisation_custom_fieldocmgr custom-fields set-organisationPOST /v1/organisations/{id}/custom-fieldsWRITE
Set a corporate assertion on the canonical organisation. An unknown key defines an organisation field. Null clears the value while retaining the row. Explicit subject both shares a definition with members. Never matching evidence.
Parameters
fieldstringREQUIRED
The field’s key or id. A key nobody has used yet defines the field.
valuestring | nullREQUIRED
The value. Null clears it, which is what omitting a custom field means to a push.
value_type"string" | "url" | "int" | "number" | "date" | "boolean" | "enum"
Only used when this call defines the field; an existing field keeps its type.
namestring
Only used when this call defines the field.
organisationstringREQUIRED
subject"organisation" | "both"
CLI flags
--name <name>
Display name for a new field
--type <type>
Value type for a new field
--subject <subject>
organisation or both; both shares a definition