Class PluginMarketplaceUpdateParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class PluginMarketplaceUpdateParams implements Params
Set the default installation setting of one of the organization's own plugin marketplaces. Every Plugin in it without a setting of its own gets this default as its organization-wide setting, including Plugins added later.
Pass it as
default_installation_preference. A member's personal marketplace cannot be updated here (403).Accepted credentials: an Admin API key with the
write:pluginsscope.Every request must include the beta header
anthropic-beta: ce-plugins-2026-09-01. A request without it returns404, exactly as if the endpoint did not exist. The Plugins API is in beta and is available to Claude Enterprise organizations only. It is not available to Claude Platform (Claude Console) organizations, or to organizations with HIPAA readiness enabled.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPluginMarketplaceUpdateParams.BuilderA builder for PluginMarketplaceUpdateParams.
public final classPluginMarketplaceUpdateParams.BodyThe plugin marketplace's default installation setting: its one settable field. Once a marketplace has a default it keeps one, so
nullis refused.public final classPluginMarketplaceUpdateParams.DefaultInstallationPreferenceThe organization-wide installation setting every Plugin in the marketplace without one of its own gets: one of
required,auto_install,available,not_available. Once set it can be changed but not removed.
-
Method Summary
Modifier and Type Method Description final Optional<String>marketplaceId()ID of the plugin marketplace (prefixed marketplace_).final Optional<List<AnthropicBeta>>betas()This endpoint is in beta: requests must send ce-plugins-2026-09-01in this header.final PluginMarketplaceUpdateParams.DefaultInstallationPreferencedefaultInstallationPreference()The organization-wide installation setting every Plugin in the marketplace without one of its own gets: one of required,auto_install,available,not_available.final JsonField<PluginMarketplaceUpdateParams.DefaultInstallationPreference>_defaultInstallationPreference()Returns the raw JSON value of defaultInstallationPreference. final Map<String, JsonValue>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final PluginMarketplaceUpdateParams.BuildertoBuilder()final PluginMarketplaceUpdateParams.Body_body()final String_pathParam(Integer index)Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. SpanData_spanData()The data for the OpenTelemetry span of a call to the method with these parameters. Booleanequals(Object other)IntegerhashCode()StringtoString()final static PluginMarketplaceUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of PluginMarketplaceUpdateParams. -
-
Method Detail
-
marketplaceId
final Optional<String> marketplaceId()
ID of the plugin marketplace (prefixed
marketplace_).
-
betas
final Optional<List<AnthropicBeta>> betas()
This endpoint is in beta: requests must send
ce-plugins-2026-09-01in this header.
-
defaultInstallationPreference
final PluginMarketplaceUpdateParams.DefaultInstallationPreference defaultInstallationPreference()
The organization-wide installation setting every Plugin in the marketplace without one of its own gets: one of
required,auto_install,available,not_available. Once set it can be changed but not removed.
-
_defaultInstallationPreference
final JsonField<PluginMarketplaceUpdateParams.DefaultInstallationPreference> _defaultInstallationPreference()
Returns the raw JSON value of defaultInstallationPreference.
Unlike defaultInstallationPreference, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final PluginMarketplaceUpdateParams.Builder toBuilder()
-
_body
final PluginMarketplaceUpdateParams.Body _body()
-
_pathParam
final String _pathParam(Integer index)
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
_spanData
SpanData _spanData()
The data for the OpenTelemetry span of a call to the method with these parameters.
-
builder
final static PluginMarketplaceUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of PluginMarketplaceUpdateParams.
The following fields are required:
.defaultInstallationPreference()
-
-
-
-