Commit 6c1f7a2e authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'docs-fix-request-method-of-namespace-list-api' into 'master'

Fix curl example request method of Namespace list API

See merge request gitlab-org/gitlab!66425
parents ba5a00fe 24abb6c5
......@@ -483,7 +483,7 @@ pass the following parameters:
In the following example, we list 50 [namespaces](namespaces.md) per page:
```shell
curl --request PUT --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/namespaces?per_page=50"
curl --request GET --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/namespaces?per_page=50"
```
#### Pagination `Link` header
......
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