CREATE ORGANIZATION LISTING and ALTER LISTING organization_targets field cannot be empty (Preview)

Attention

This behavior change is in the 2025_03 bundle.

For the current status of the bundle, refer to Bundle History.

The organization_targets field specifies the roles and accounts that can access or discover the listing. To ensure consistency with the Snowsight, the following behavior is being changed:

Before the change:

Providers can enter empty values for the organization_targets field when publishing or altering an organization listing programmatically with the CREATE ORGANIZATION LISTING and ALTER LISTING commands.

After the change:

When this behavior change bundle is enabled, providers must specify a value for the organization_targets field when publishing or altering an organization listing programmatically with the CREATE ORGANIZATION LISTING and ALTER LISTING commands unless they are creating a draft organization listing.

Ref: 1963