Partially update profile configuration
PATCH /api/v1/profiles/{id}
Applies partial profile config updates for fields like packages, kernel settings, OpenClaw, raw Nix overrides, or arbitrary top-level config keys.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Profile identifier.
Request Body required
Section titled “Request Body required ”object
Top-level config keys to merge into the existing config object.
object
Replace the parsed package list in the existing config.
object
object
object
Examples
Update selected config fields
{ "config": { "custom_banner": "Canary rollout" }, "packages": [ "vim", "htop" ], "kernel": { "attr": "linux_6_19" }, "openclaw_microvm_enabled": false}Responses
Section titled “ Responses ”Updated profile configuration.
object
object
Profile identifier.
Primary fleet identifier when one is available.
All fleet identifiers assigned to the profile.
Human-readable name of the primary fleet.
Profile name.
Optional profile description.
Latest known profile revision.
Hash of the latest configuration revision when available.
UTC timestamp string returned by the current API implementation.
Current configuration schema version for the latest revision.
Canonical JSON configuration object for the latest profile revision.
object
Parsed package list from the profile configuration.
object
Selected kernel attribute.
object
object
Whether the OpenClaw MicroVM integration is enabled.
Raw Nix overrides stored with the latest profile revision.
Whether the mutation created a new profile revision.
Examples
Patched profile without changing raw Nix
{ "created_new_revision": true, "profile": { "id": "a8ce71df-4c80-4d45-919a-bfd474a4d724", "fleet_id": "fleet-primary", "fleet_ids": [ "fleet-primary", "fleet-secondary" ], "fleet_name": "Primary Fleet, Secondary Fleet", "name": "Production Base", "description": "Base image for production devices.", "latest_revision": 14, "config_hash": "9b5c5129a7326f3ab3c6a5e04df4e7230f7d6f4e14cd0c57c6dbfd8a57dbc1df", "config_schema_version": 2, "created_at": "2026-03-18 12:00:00", "config": { "packages": [ "vim", "htop" ], "kernel": { "attr": "linux_6_19" }, "openclaw_microvm_enabled": false, "custom_banner": "Canary rollout" }, "packages": [ "vim", "htop" ], "kernel": { "attr": "linux_6_19", "source_override": { "enabled": false, "patches": [] } }, "openclaw_microvm_enabled": false, "raw_nix": "{ pkgs, ... }: { services.openssh.enable = true; }" }}Invalid profile mutation request.
object
Missing or invalid API key.
object
The authenticated user can view the profile but cannot modify it.
object
Profile not found or not visible to the authenticated user.