Skip to content

Commit 7e747e2

Browse files
committed
add header line
1 parent 15e3a97 commit 7e747e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/api.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ This ``curl`` example retrieves database users for a project:
3434
curl --user "{PUBLIC-KEY}:{PRIVATE-KEY}" --digest \
3535
--header "Accept: application/json" \
3636
--header "Content-Type: application/json" \
37+
--header "Accept: application/vnd.atlas.2023-01-01+json" \ # update date to desired API version
3738
--include \
3839
--request GET "https://cloud.mongodbgov.com/api/atlas/v2/groups/{PROJECT-ID}/databaseUsers?pretty=true"
3940

0 commit comments

Comments
 (0)