Class PluginUpdateParams

  • All Implemented Interfaces:
    com.anthropic.core.Params

    
    public final class PluginUpdateParams
     implements Params
                        

    Change which stored version of an organization-owned Plugin is served to members, for example to roll back to an earlier one. This pins the served version: later uploads through this API are stored but no longer change what is served, and pinning cannot currently be undone, here or in claude.ai.

    A version from claude.ai might still change what is served: see /docs/en/manage-claude/plugins-api#versions-and-the-served-version in the Plugins API guide.

    Pass the version as served_version_id: an earlier one to roll back, a later one to start serving a version that was stored without being served, or the one already served to pin it without changing what is served. No new version is created.

    When the organization has content scanning enabled, a version whose content_scan.status is processing is refused with a 409 (error_code scan_pending; retry once the scan finishes). A version whose content_scan.status is errored, or whose content_scan.assessment is fail or unknown, is refused with a 400 (error_code scan_failed); a warn is accepted. If the scan outcome cannot be read at that moment, the request fails with a retryable 503 instead. When the Plugin is in the organization's library marketplace, a version other than the one served is also refused with a 409 when an organization skill that this API does not list has since taken the name of one of its skills: error_code skill_name_taken, with that name in details.skill_name. A member-owned Plugin cannot be updated here (403).

    This endpoint does not write installation settings; they are written at /v1/organizations/plugins/{plugin_id}/installation_settings/{target}.

    Accepted credentials: an Admin API key with the write:plugins scope.

    Every request must include the beta header anthropic-beta: ce-plugins-2026-09-01. A request without it returns 404, 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.