Skip to main content

opt_ins

Creates, updates, deletes, gets or lists an opt_ins resource.

Overview

Nameopt_ins
TypeResource
Idconfluent.stream_sharing.opt_ins

Fields

The following fields are returned by SELECT queries:

Opt In.

NameDatatypeDescription
api_versionstringAPIVersion defines the schema version of this representation of a resource. (cdx/v1)
kindstringKind defines the object this REST resource represents. (OptIn)
stream_share_enabledbooleanEnable stream sharing for the organization

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_cdx_v1_opt_inselectReturns the organization's stream sharing opt-in settings.
update_cdx_v1_opt_inupdateUpdates the organization's stream sharing opt-in settings.


Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

SELECT examples

Returns the organization's stream sharing opt-in settings.

SELECT
api_version,
kind,
stream_share_enabled
FROM confluent.stream_sharing.opt_ins
;

UPDATE examples

Updates the organization's stream sharing opt-in settings.


UPDATE confluent.stream_sharing.opt_ins
SET
stream_share_enabled = {{ stream_share_enabled }}
RETURNING
api_version,
kind,
stream_share_enabled;