Commit 257c3b3f authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'dmpe-master-patch-56106' into 'master'

fix(docs): fix documentation example for editing of group_clusters

See merge request gitlab-org/gitlab!64393
parents d5e50fcf f23bb338
...@@ -258,7 +258,7 @@ Example request: ...@@ -258,7 +258,7 @@ Example request:
```shell ```shell
curl --header "Private-Token: <your_access_token>" "https://gitlab.example.com/api/v4/groups/26/clusters/24" \ curl --header "Private-Token: <your_access_token>" "https://gitlab.example.com/api/v4/groups/26/clusters/24" \
-H "Content-Type:application/json" \ -H "Content-Type:application/json" \
--request PUT --data '{"name":"new-cluster-name","domain":"new-domain.com","api_url":"https://new-api-url.com"}' --request PUT --data '{"name":"new-cluster-name","domain":"new-domain.com","platform_kubernetes_attributes":{"api_url":"https://10.10.101.1:6433"}}'
``` ```
Example response: Example response:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment