Skip to content

Commit

Permalink
doc/projects: fix documentation for PATCH request
Browse files Browse the repository at this point in the history
The functionality was fixed in canonical#13786

Signed-off-by: Ruth Fuchss <[email protected]>
  • Loading branch information
ru-fu committed Jul 22, 2024
1 parent c0d6d24 commit 44ccfe0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions doc/howto/projects_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,10 @@ For example, to limit the number of containers that can be created in `my-projec
lxc query --request PATCH /1.0/projects/my-project --data '{
"config": {
"limits.containers": "5",
...
"limits.containers": "5"
}
}'
```{note}
The PATCH request updates the full content of the `config` field.
Therefore, you must specify all configuration options as part of the PATCH request, and not only the option that you want to change.
```
See [`PATCH /1.0/projects/{name}`](swagger:/projects/project_patch) for more information.
````
````{group-tab} UI
Expand Down

0 comments on commit 44ccfe0

Please sign in to comment.