Class InstallationSettingSetParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class InstallationSettingSetParams implements Params
Set or change an organization-owned Plugin's installation setting for the whole organization or for one RBAC Group.
Writing the value a target already holds of its own changes nothing.
A member-owned Plugin has shares instead of installation settings, so this path returns 404 for one.
Send a Plugin's installation-setting writes one at a time. If several writes for the same Plugin arrive at the same time, the server handles them one after another and can answer some of them with
503instead of applying them. That503carriesx-should-retry: true, and the write is safe to repeat: wait a second or two, then send it again.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 classInstallationSettingSetParams.BuilderA builder for InstallationSettingSetParams.
public final classInstallationSettingSetParams.BodyThe installation setting one target is to hold for the Plugin: one of the four values.
nulland any other field are refused.public final classInstallationSettingSetParams.InstallationPreferenceThe installation setting the target is to hold for this Plugin: one of
required,auto_install,available,not_available.
-
Method Summary
Modifier and Type Method Description final StringpluginId()ID of the Plugin (prefixed plugin_).final Optional<String>target()The target whose setting is written: the literal organizationfor the Plugin's organization-wide setting, or an RBAC Group's ID (prefixedrbac_group_) for that group's own setting.final Optional<List<AnthropicBeta>>betas()This endpoint is in beta: requests must send ce-plugins-2026-09-01in this header.final InstallationSettingSetParams.InstallationPreferenceinstallationPreference()The installation setting the target is to hold for this Plugin: one of required,auto_install,available,not_available.final JsonField<InstallationSettingSetParams.InstallationPreference>_installationPreference()Returns the raw JSON value of installationPreference. 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 InstallationSettingSetParams.BuildertoBuilder()final InstallationSettingSetParams.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 InstallationSettingSetParams.Builderbuilder()Returns a mutable builder for constructing an instance of InstallationSettingSetParams. -
-
Method Detail
-
target
final Optional<String> target()
The target whose setting is written: the literal
organizationfor the Plugin's organization-wide setting, or an RBAC Group's ID (prefixedrbac_group_) for that group's own setting. Writing theorganizationtarget stops the Plugin from inheriting its marketplace's default, even when the value written equals that default.
-
betas
final Optional<List<AnthropicBeta>> betas()
This endpoint is in beta: requests must send
ce-plugins-2026-09-01in this header.
-
installationPreference
final InstallationSettingSetParams.InstallationPreference installationPreference()
The installation setting the target is to hold for this Plugin: one of
required,auto_install,available,not_available.
-
_installationPreference
final JsonField<InstallationSettingSetParams.InstallationPreference> _installationPreference()
Returns the raw JSON value of installationPreference.
Unlike installationPreference, 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 InstallationSettingSetParams.Builder toBuilder()
-
_body
final InstallationSettingSetParams.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 InstallationSettingSetParams.Builder builder()
Returns a mutable builder for constructing an instance of InstallationSettingSetParams.
The following fields are required:
.pluginId() .installationPreference()
-
-
-
-