Skip to content

Edit a profile in the API #135

Closed

Description

@l-nmch

Scope

PATCH /v1/tenants/{t}/profiles/{name} changes the CPU, the memory, the root disk, the description, the secure boot and the SSH keys of a profile the user made (the Profile kind can be edited in place); what is absent is left alone, and the built-in profiles s, m and l are refused. Same validation as the creation, same rule for an empty list of keys as for an instance. An instance that does not say its own value follows the change (measured on the platform with phorge-fr/Hangar#434). OpenAPI, documentation, tests. Measure first that a resize of a profile that running instances use is accepted or refused by Incus, and refuse in words, never stopping an instance.

Done when

A person edits the size and the settings of a profile through the API.

Activity

  1. added this to the 2027-Q1 milestone on Nov 11, 2026
  2. added
    area/api
    on Nov 11, 2026
  3. self-assigned this
    on Nov 11, 2026
  4. added theissue type on Nov 11, 2026
  5. l-nmch commented on Nov 14, 2026

    @l-nmch
    MemberAuthor

    /time 25m live measurement of what Incus does to a running VM when its profile changes, the PATCH route, its refusals, tests, docs and OpenAPI, merged in #142 (estimated)

  6. l-nmch commented on Nov 14, 2026

    @l-nmch
    MemberAuthor

    /time 2m merged #142 after updating it on main twice (estimated)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/api

Projects

  • Status
    No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions