Class PluginDeleteParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class PluginDeleteParams implements Params
Permanently delete a Plugin and every version it holds, exactly as when an administrator deletes it in claude.ai. The Plugin may belong to the organization or to a member, including a member who has since left the organization. Do not delete a Plugin only because your pipeline did not create it: a member or an administrator might have added it in claude.ai.
An organization-owned Plugin's installation settings go with it; a member-owned Plugin's shares are withdrawn and its owner no longer has it.
To take an organization-owned Plugin out of use reversibly, set its organization-wide installation setting to
not_availableinstead (and remove or change any group settings, which override it for their members). Only a Plugin in amanualmarketplace can be deleted here; one synchronized from a repository is removed by removing it from the repository (400).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 classPluginDeleteParams.BuilderA builder for PluginDeleteParams.
-
Method Summary
Modifier and Type Method Description final Optional<String>pluginId()ID of the Plugin (prefixed plugin_).final Optional<List<AnthropicBeta>>betas()This endpoint is in beta: requests must send ce-plugins-2026-09-01in this header.final Map<String, JsonValue>_additionalBodyProperties()Additional body properties to send with the request. final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final PluginDeleteParams.BuildertoBuilder()final Optional<Map<String, JsonValue>>_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 PluginDeleteParamsnone()final static PluginDeleteParams.Builderbuilder()Returns a mutable builder for constructing an instance of PluginDeleteParams. -
-
Method Detail
-
betas
final Optional<List<AnthropicBeta>> betas()
This endpoint is in beta: requests must send
ce-plugins-2026-09-01in this header.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
Additional body properties to send with the request.
-
_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 PluginDeleteParams.Builder toBuilder()
-
_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.
-
none
final static PluginDeleteParams none()
-
builder
final static PluginDeleteParams.Builder builder()
Returns a mutable builder for constructing an instance of PluginDeleteParams.
-
-
-
-