Set a lease custom-field value
Sets this lease's value for one custom field. Send only the value key that matches the field's type — a text field takes stringValue, a number field numberValue, and so on.
Authorization
AuthorizationstringrequiredPath parameters
leaseIdstringrequiredThe lease to set the value on. A Snowflake id, sent as a decimal string.
customFieldIdstringrequiredThe custom field to set. A Snowflake id, sent as a decimal string.
Body
application/json
Fill in the one key that matches the field's type; leave the rest out.
stringValuestringValue for a single-valued text field.
stringArraystring[]Values for a multi-valued text field.
numberValuenumberValue for a number field.
booleanValuebooleanValue for a yes/no field.
dateTimeValuestring · date-timeValue for a date field, in the company's timezone.
referenceValuestringId for a single reference field. A Snowflake id, sent as a decimal string.
referenceArraystring[]Ids for a multi reference field.
referenceFileUploadSessionIdstringUpload session id for a single file reference field. A Snowflake id, sent as a decimal string.
referenceFileUploadSessionIdsstring[]Upload session ids to add to a file reference field. Append-only — existing files stay.
Response
200 · The stored value.
customFieldIdstringThe custom field this value belongs to. A Snowflake id, sent as a decimal string.
entityTypeenum<string>Always lease here.
entityIdstringThe lease the value is on. A Snowflake id, sent as a decimal string.
stringValuestringValue of a single-valued text field.
stringArraystring[]Values of a multi-valued text field.
numberValuenumberValue of a number field.
booleanValuebooleanValue of a yes/no field.
dateTimeValuestring · date-timeValue of a date field, in the company's timezone.
referenceValuestringId the field points at, for a single reference field. A Snowflake id, sent as a decimal string.
referenceArraystring[]Ids the field points at, for a multi reference field.
createdstring · date-timeWhen the value was first set.
updatedstring · date-timeWhen the value was last changed.
referenceFilesFile[]The files a reference field points at, resolved.