diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-09 09:09:41 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-09 09:09:41 +0300 |
commit | 47d41a24a1933599401d681675f1755c82adbbdf (patch) | |
tree | 71ba8658622aa3a818ebd77242bc54d3da735408 /doc/api/metrics_user_starred_dashboards.md | |
parent | a25cab22f84ee674ebb32625a6da566acd454e8a (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/metrics_user_starred_dashboards.md')
-rw-r--r-- | doc/api/metrics_user_starred_dashboards.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/metrics_user_starred_dashboards.md b/doc/api/metrics_user_starred_dashboards.md index aca04c6a926..79040333148 100644 --- a/doc/api/metrics_user_starred_dashboards.md +++ b/doc/api/metrics_user_starred_dashboards.md @@ -26,7 +26,7 @@ Parameters: | `dashboard_path` | string | yes | URL-encoded path to file defining the dashboard which should be marked as favorite. | ```shell -curl --header 'Private-Token: <your_access_token>' https://gitlab.example.com/api/v4/projects/20/metrics/user_starred_dashboards \ +curl --header 'Private-Token: <your_access_token>' "https://gitlab.example.com/api/v4/projects/20/metrics/user_starred_dashboards" \ --data-urlencode "dashboard_path=config/prometheus/dashboards/common_metrics.yml" ``` @@ -57,7 +57,7 @@ Parameters: | `dashboard_path` | string | no | URL-encoded path to file defining the dashboard which should no longer be marked as favorite. When not supplied, all dashboards within given projects are removed from favorites. | ```shell -curl --request DELETE --header 'Private-Token: <your_access_token>' https://gitlab.example.com/api/v4/projects/20/metrics/user_starred_dashboards \ +curl --request DELETE --header 'Private-Token: <your_access_token>' "https://gitlab.example.com/api/v4/projects/20/metrics/user_starred_dashboards" \ --data-urlencode "dashboard_path=config/prometheus/dashboards/common_metrics.yml" ``` |