nullableField

@PATCH(value = "api/v2/depots/{depot}/collections/{collection}/datasets/{dataset}/fields/{field}/nullable/{nullable}")
abstract fun nullableField(@Path(value = "depot") depot: String, @Path(value = "collection") collection: String, @Path(value = "dataset") dataset: String, @Path(value = "field") field: String, @Path(value = "nullable") nullable: Boolean, @Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<Void>

Sets the nullability of a field in a dataset.

Return

A Call object with a Void response.

Parameters

depot

The depot name.

collection

The collection name.

dataset

The dataset name.

field

The field name to update the nullability.

nullable

The nullable flag indicating whether the field is nullable or not.

correlationId

(Optional) The correlation ID for tracking requests.